#[repr(transparent)]pub struct V5MotorControlMode(pub c_uchar);
Tuple Fields§
§0: c_uchar
Implementations§
Source§impl V5MotorControlMode
impl V5MotorControlMode
pub const kMotorControlModeOFF: Self = _
pub const kMotorControlModeBRAKE: Self = _
pub const kMotorControlModeHOLD: Self = _
pub const kMotorControlModeSERVO: Self = _
pub const kMotorControlModePROFILE: Self = _
pub const kMotorControlModeVELOCITY: Self = _
pub const kMotorControlModeUNDEFINED: Self = _
Trait Implementations§
Source§impl Clone for V5MotorControlMode
impl Clone for V5MotorControlMode
Source§fn clone(&self) -> V5MotorControlMode
fn clone(&self) -> V5MotorControlMode
Returns a copy 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 V5MotorControlMode
impl Debug for V5MotorControlMode
Source§impl Default for V5MotorControlMode
impl Default for V5MotorControlMode
Source§fn default() -> V5MotorControlMode
fn default() -> V5MotorControlMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5MotorControlMode
impl PartialEq for V5MotorControlMode
impl Copy for V5MotorControlMode
impl Eq for V5MotorControlMode
impl StructuralPartialEq for V5MotorControlMode
Auto Trait Implementations§
impl Freeze for V5MotorControlMode
impl RefUnwindSafe for V5MotorControlMode
impl Send for V5MotorControlMode
impl Sync for V5MotorControlMode
impl Unpin for V5MotorControlMode
impl UnwindSafe for V5MotorControlMode
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