#[repr(u8)]pub enum Drive {
_2MA,
_4MA,
_8MA,
_12MA,
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Drive
impl Ord for Drive
source§impl PartialEq<Drive> for Drive
impl PartialEq<Drive> for Drive
source§impl PartialOrd<Drive> for Drive
impl PartialOrd<Drive> for Drive
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 Drive
impl Eq for Drive
impl StructuralEq for Drive
impl StructuralPartialEq for Drive
Auto Trait Implementations§
impl RefUnwindSafe for Drive
impl Send for Drive
impl Sync for Drive
impl Unpin for Drive
impl UnwindSafe for Drive
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