#[repr(i32)]pub enum NeutralMode {
EEPROMSetting = 0,
Coast = 1,
Brake = 2,
}Variants§
EEPROMSetting = 0
Use the NeutralMode that is set by the jumper wire on the CAN device
Coast = 1
Stop the motor’s rotation by applying a force.
Brake = 2
Stop the motor’s rotation by applying a force.
Trait Implementations§
Source§impl Clone for NeutralMode
impl Clone for NeutralMode
Source§fn clone(&self) -> NeutralMode
fn clone(&self) -> NeutralMode
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 NeutralMode
impl Debug for NeutralMode
Source§impl Hash for NeutralMode
impl Hash for NeutralMode
Source§impl PartialEq for NeutralMode
impl PartialEq for NeutralMode
impl Copy for NeutralMode
impl Eq for NeutralMode
impl StructuralPartialEq for NeutralMode
Auto Trait Implementations§
impl Freeze for NeutralMode
impl RefUnwindSafe for NeutralMode
impl Send for NeutralMode
impl Sync for NeutralMode
impl Unpin for NeutralMode
impl UnwindSafe for NeutralMode
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