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