pub struct LayerSwitches {
pub l0: bool,
pub l1: bool,
pub l2: bool,
}Available on crate feature
std only.Expand description
Enablement settings for the L0, L1, and L2 layers.
Fields§
§l0: boolWhether the L0 internal-world layer is enabled.
l1: boolWhether the L1 learning and patch layer is enabled.
l2: boolWhether the L2 meta-control layer is enabled.
Implementations§
Trait Implementations§
Source§impl Clone for LayerSwitches
impl Clone for LayerSwitches
impl Copy for LayerSwitches
Source§impl Debug for LayerSwitches
impl Debug for LayerSwitches
Source§impl Default for LayerSwitches
impl Default for LayerSwitches
Source§impl<'de> Deserialize<'de> for LayerSwitches
impl<'de> Deserialize<'de> for LayerSwitches
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LayerSwitches
Source§impl From<LoopPreset> for LayerSwitches
impl From<LoopPreset> for LayerSwitches
Source§fn from(preset: LoopPreset) -> Self
fn from(preset: LoopPreset) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayerSwitches
impl PartialEq for LayerSwitches
Source§impl Serialize for LayerSwitches
impl Serialize for LayerSwitches
impl StructuralPartialEq for LayerSwitches
Auto Trait Implementations§
impl Forget for LayerSwitches
impl Freeze for LayerSwitches
impl Move for LayerSwitches
impl RefUnwindSafe for LayerSwitches
impl Send for LayerSwitches
impl Sync for LayerSwitches
impl Unpin for LayerSwitches
impl UnsafeUnpin for LayerSwitches
impl UnwindSafe for LayerSwitches
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