Enum vex_sdk::magnet::V5_DeviceMagnetDuration
source · #[repr(C)]pub enum V5_DeviceMagnetDuration {
kMagnetDurationShort = 0,
kMagnetDurationMedium = 1,
kMagnetDurationLong = 2,
kMagnetDurationExtraLong = 3,
}Variants§
kMagnetDurationShort = 0
kMagnetDurationMedium = 1
kMagnetDurationLong = 2
kMagnetDurationExtraLong = 3
Trait Implementations§
source§impl Clone for V5_DeviceMagnetDuration
impl Clone for V5_DeviceMagnetDuration
source§fn clone(&self) -> V5_DeviceMagnetDuration
fn clone(&self) -> V5_DeviceMagnetDuration
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 V5_DeviceMagnetDuration
impl Debug for V5_DeviceMagnetDuration
source§impl PartialEq for V5_DeviceMagnetDuration
impl PartialEq for V5_DeviceMagnetDuration
source§fn eq(&self, other: &V5_DeviceMagnetDuration) -> bool
fn eq(&self, other: &V5_DeviceMagnetDuration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for V5_DeviceMagnetDuration
impl StructuralPartialEq for V5_DeviceMagnetDuration
Auto Trait Implementations§
impl Freeze for V5_DeviceMagnetDuration
impl RefUnwindSafe for V5_DeviceMagnetDuration
impl Send for V5_DeviceMagnetDuration
impl Sync for V5_DeviceMagnetDuration
impl Unpin for V5_DeviceMagnetDuration
impl UnwindSafe for V5_DeviceMagnetDuration
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