pub enum TouchEvent {
Released,
Pressed,
Held,
}
Expand description
The gearset of a VEX V5 motor.
Variants§
Trait Implementations§
Source§impl Clone for TouchEvent
impl Clone for TouchEvent
Source§fn clone(&self) -> TouchEvent
fn clone(&self) -> TouchEvent
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 TouchEvent
impl Debug for TouchEvent
Source§impl<'de> Deserialize<'de> for TouchEvent
impl<'de> Deserialize<'de> for TouchEvent
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 TouchEvent
impl Hash for TouchEvent
Source§impl Ord for TouchEvent
impl Ord for TouchEvent
Source§fn cmp(&self, other: &TouchEvent) -> Ordering
fn cmp(&self, other: &TouchEvent) -> 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 TouchEvent
impl PartialEq for TouchEvent
Source§impl PartialOrd for TouchEvent
impl PartialOrd for TouchEvent
Source§impl Serialize for TouchEvent
impl Serialize for TouchEvent
impl Copy for TouchEvent
impl Eq for TouchEvent
impl StructuralPartialEq for TouchEvent
Auto Trait Implementations§
impl Freeze for TouchEvent
impl RefUnwindSafe for TouchEvent
impl Send for TouchEvent
impl Sync for TouchEvent
impl Unpin for TouchEvent
impl UnwindSafe for TouchEvent
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