Enum vex_sdk::motor::V5MotorEncoderUnits
source · #[repr(C)]pub enum V5MotorEncoderUnits {
kMotorEncoderDegrees = 0,
kMotorEncoderRotations = 1,
kMotorEncoderCounts = 2,
}Variants§
Trait Implementations§
source§impl Clone for V5MotorEncoderUnits
impl Clone for V5MotorEncoderUnits
source§fn clone(&self) -> V5MotorEncoderUnits
fn clone(&self) -> V5MotorEncoderUnits
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 V5MotorEncoderUnits
impl Debug for V5MotorEncoderUnits
source§impl Default for V5MotorEncoderUnits
impl Default for V5MotorEncoderUnits
source§fn default() -> V5MotorEncoderUnits
fn default() -> V5MotorEncoderUnits
Returns the “default value” for a type. Read more
source§impl PartialEq for V5MotorEncoderUnits
impl PartialEq for V5MotorEncoderUnits
source§fn eq(&self, other: &V5MotorEncoderUnits) -> bool
fn eq(&self, other: &V5MotorEncoderUnits) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for V5MotorEncoderUnits
impl Eq for V5MotorEncoderUnits
impl StructuralPartialEq for V5MotorEncoderUnits
Auto Trait Implementations§
impl Freeze for V5MotorEncoderUnits
impl RefUnwindSafe for V5MotorEncoderUnits
impl Send for V5MotorEncoderUnits
impl Sync for V5MotorEncoderUnits
impl Unpin for V5MotorEncoderUnits
impl UnwindSafe for V5MotorEncoderUnits
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