pub enum MotorCommand {
Position,
Velocity,
Torque,
}Variants§
Trait Implementations§
Source§impl Clone for MotorCommand
impl Clone for MotorCommand
Source§fn clone(&self) -> MotorCommand
fn clone(&self) -> MotorCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MotorCommand
Source§impl Debug for MotorCommand
impl Debug for MotorCommand
Source§impl<'de> Deserialize<'de> for MotorCommand
impl<'de> Deserialize<'de> for MotorCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MotorCommand
Source§impl PartialEq for MotorCommand
impl PartialEq for MotorCommand
Source§impl Serialize for MotorCommand
impl Serialize for MotorCommand
impl StructuralPartialEq for MotorCommand
Auto Trait Implementations§
impl Freeze for MotorCommand
impl RefUnwindSafe for MotorCommand
impl Send for MotorCommand
impl Sync for MotorCommand
impl Unpin for MotorCommand
impl UnsafeUnpin for MotorCommand
impl UnwindSafe for MotorCommand
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