Enum ctre_sys::mot::ControlMode [−][src]
#[repr(i32)]pub enum ControlMode { PercentOutput, Position, Velocity, Current, Follower, MotionProfile, MotionMagic, MotionProfileArc, Disabled, }
Variants
PercentOutput
Position
Velocity
Current
Follower
MotionProfile
MotionMagic
MotionProfileArc
Disabled
Trait Implementations
impl Debug for ControlMode
[src]
impl Debug for ControlMode
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 ControlMode
[src]
impl Copy for ControlMode
impl Clone for ControlMode
[src]
impl Clone for ControlMode
fn clone(&self) -> ControlMode
[src]
fn clone(&self) -> ControlMode
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 ControlMode
[src]
impl PartialEq for ControlMode
fn eq(&self, other: &ControlMode) -> bool
[src]
fn eq(&self, other: &ControlMode) -> 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 ControlMode
[src]
impl Eq for ControlMode
impl Hash for ControlMode
[src]
impl Hash for ControlMode
Auto Trait Implementations
impl Send for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Sync for ControlMode