Enum ctre_sys::mot::NeutralMode [−][src]
#[repr(i32)]pub enum NeutralMode { EEPROMSetting, Coast, Brake, }
Variants
EEPROMSetting
Use the NeutralMode that is set by the jumper wire on the CAN device
Coast
Stop the motor's rotation by applying a force.
Brake
Stop the motor's rotation by applying a force.
Trait Implementations
impl Debug for NeutralMode
[src]
impl Debug for NeutralMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for NeutralMode
[src]
impl Copy for NeutralMode
impl Clone for NeutralMode
[src]
impl Clone for NeutralMode
fn clone(&self) -> NeutralMode
[src]
fn clone(&self) -> NeutralMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for NeutralMode
[src]
impl PartialEq for NeutralMode
fn eq(&self, other: &NeutralMode) -> bool
[src]
fn eq(&self, other: &NeutralMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for NeutralMode
[src]
impl Eq for NeutralMode
impl Hash for NeutralMode
[src]
impl Hash for NeutralMode
Auto Trait Implementations
impl Send for NeutralMode
impl Send for NeutralMode
impl Sync for NeutralMode
impl Sync for NeutralMode