#[repr(u8)]pub enum LocoState {
Active = 0,
Consisted = 1,
ConsistMaster = 2,
Inactive = 3,
}Expand description
Loco state
Variants§
Trait Implementations§
impl Copy for LocoState
impl Eq for LocoState
Source§impl FromPrimitive for LocoState
impl FromPrimitive for LocoState
impl StructuralPartialEq for LocoState
Auto Trait Implementations§
impl Freeze for LocoState
impl RefUnwindSafe for LocoState
impl Send for LocoState
impl Sync for LocoState
impl Unpin for LocoState
impl UnsafeUnpin for LocoState
impl UnwindSafe for LocoState
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