pub enum MotorState {
Idle,
Running,
Disabled,
Inoperable,
NotEnoughResources,
}Variants§
Trait Implementations§
Source§impl Clone for MotorState
impl Clone for MotorState
Source§fn clone(&self) -> MotorState
fn clone(&self) -> MotorState
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 MotorState
impl Debug for MotorState
Source§impl PartialEq for MotorState
impl PartialEq for MotorState
impl Copy for MotorState
impl StructuralPartialEq for MotorState
Auto Trait Implementations§
impl Freeze for MotorState
impl RefUnwindSafe for MotorState
impl Send for MotorState
impl Sync for MotorState
impl Unpin for MotorState
impl UnwindSafe for MotorState
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