pub enum MotorGearset {
Red,
Green,
Blue,
}
Expand description
The gearset of a VEX V5 motor.
Variants§
Trait Implementations§
Source§impl Clone for MotorGearset
impl Clone for MotorGearset
Source§fn clone(&self) -> MotorGearset
fn clone(&self) -> MotorGearset
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 MotorGearset
impl Debug for MotorGearset
Source§impl<'de> Deserialize<'de> for MotorGearset
impl<'de> Deserialize<'de> for MotorGearset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MotorGearset
impl Hash for MotorGearset
Source§impl Ord for MotorGearset
impl Ord for MotorGearset
Source§fn cmp(&self, other: &MotorGearset) -> Ordering
fn cmp(&self, other: &MotorGearset) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MotorGearset
impl PartialEq for MotorGearset
Source§impl PartialOrd for MotorGearset
impl PartialOrd for MotorGearset
Source§impl Serialize for MotorGearset
impl Serialize for MotorGearset
impl Copy for MotorGearset
impl Eq for MotorGearset
impl StructuralPartialEq for MotorGearset
Auto Trait Implementations§
impl Freeze for MotorGearset
impl RefUnwindSafe for MotorGearset
impl Send for MotorGearset
impl Sync for MotorGearset
impl Unpin for MotorGearset
impl UnwindSafe for MotorGearset
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