Enum vex_sdk::motor::V5MotorBrakeMode
source · #[repr(C)]pub enum V5MotorBrakeMode {
kV5MotorBrakeModeCoast = 0,
kV5MotorBrakeModeBrake = 1,
kV5MotorBrakeModeHold = 2,
}Variants§
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
source§fn eq(&self, other: &V5MotorBrakeMode) -> bool
fn eq(&self, other: &V5MotorBrakeMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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