pub enum Speed {
X1,
X2,
X3B2,
X3B4,
X1B2,
X1B4,
X1B8,
}
Expand description
The speed of a pattern.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Speed
impl<'de> Deserialize<'de> for Speed
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 Ord for Speed
impl Ord for Speed
source§impl PartialEq for Speed
impl PartialEq for Speed
source§impl PartialOrd for Speed
impl PartialOrd for Speed
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Speed
impl Eq for Speed
impl StructuralEq for Speed
impl StructuralPartialEq for Speed
Auto Trait Implementations§
impl RefUnwindSafe for Speed
impl Send for Speed
impl Sync for Speed
impl Unpin for Speed
impl UnwindSafe for Speed
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