pub struct ActionFactorizationSpec {
pub factorization_version: u32,
pub action_encoding_version: u32,
pub action_space_size: usize,
pub meta_version: &'static str,
pub meta_fields: Vec<&'static str>,
pub families: Vec<ActionFamilySpec>,
pub notes: Vec<&'static str>,
}Expand description
Factorization schema for the action space.
Fields§
§factorization_version: u32Factorization schema version.
action_encoding_version: u32Action encoding version mirrored by this schema.
action_space_size: usizeTotal action space size.
meta_version: &'static strMetadata layout version used by packed legal rows.
meta_fields: Vec<&'static str>Metadata field names in packed legal rows.
families: Vec<ActionFamilySpec>Factorized action families.
notes: Vec<&'static str>Additional notes.
Trait Implementations§
Source§impl Clone for ActionFactorizationSpec
impl Clone for ActionFactorizationSpec
Source§fn clone(&self) -> ActionFactorizationSpec
fn clone(&self) -> ActionFactorizationSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionFactorizationSpec
impl Debug for ActionFactorizationSpec
Auto Trait Implementations§
impl Freeze for ActionFactorizationSpec
impl RefUnwindSafe for ActionFactorizationSpec
impl Send for ActionFactorizationSpec
impl Sync for ActionFactorizationSpec
impl Unpin for ActionFactorizationSpec
impl UnsafeUnpin for ActionFactorizationSpec
impl UnwindSafe for ActionFactorizationSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more