#[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§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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)