#[repr(u8)]pub enum AxisID {
Zero = 0,
One = 1,
}Expand description
Used to indicate one of the two motors controlled by the ODrive.
Variants§
Trait Implementations§
Source§impl Ord for AxisID
impl Ord for AxisID
Source§impl PartialOrd for AxisID
impl PartialOrd for AxisID
impl Copy for AxisID
impl Eq for AxisID
impl StructuralPartialEq for AxisID
Auto Trait Implementations§
impl Freeze for AxisID
impl RefUnwindSafe for AxisID
impl Send for AxisID
impl Sync for AxisID
impl Unpin for AxisID
impl UnwindSafe for AxisID
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