#[repr(u8)]pub enum ControlMode {
VoltageControl = 0,
CurrentControl = 1,
VelocityControl = 2,
PositionControl = 3,
TrajectoryControl = 4,
}Variants§
VoltageControl = 0
CurrentControl = 1
VelocityControl = 2
PositionControl = 3
TrajectoryControl = 4
Trait Implementations§
Source§impl Clone for ControlMode
impl Clone for ControlMode
Source§fn clone(&self) -> ControlMode
fn clone(&self) -> ControlMode
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 ControlMode
impl Debug for ControlMode
Source§impl Ord for ControlMode
impl Ord for ControlMode
Source§fn cmp(&self, other: &ControlMode) -> Ordering
fn cmp(&self, other: &ControlMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ControlMode
impl PartialEq for ControlMode
Source§impl PartialOrd for ControlMode
impl PartialOrd for ControlMode
impl Copy for ControlMode
impl Eq for ControlMode
impl StructuralPartialEq for ControlMode
Auto Trait Implementations§
impl Freeze for ControlMode
impl RefUnwindSafe for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Unpin for ControlMode
impl UnwindSafe for ControlMode
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