Enum Drive
#[repr(u8)]pub enum Drive {
S0s1 = 0,
H0s1 = 1,
S0h1 = 2,
H0h1 = 3,
D0s1 = 4,
D0h1 = 5,
S0d1 = 6,
H0d1 = 7,
}Variants§
S0s1 = 0
Standard ‘0’, standard ‘1’.
H0s1 = 1
High drive ‘0’, standard ‘1’.
S0h1 = 2
Standard ‘0’, high drive ‘1’.
H0h1 = 3
High drive ‘0’, high ’drive ‘1’’.
D0s1 = 4
Disconnect ‘0’, standard ‘1’ (normally used for wired-or connections).
D0h1 = 5
Disconnect ‘0’, high drive ‘1’ (normally used for wired-or connections).
S0d1 = 6
Standard ‘0’, disconnect ‘1’ (normally used for wired-and connections).
H0d1 = 7
High drive ‘0’, disconnect ‘1’ (normally used for wired-and connections).
Implementations§
Trait Implementations§
impl Copy for Drive
impl Eq for Drive
§impl Ord for Drive
impl Ord for Drive
1.21.0 (const: unstable) · 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
§impl PartialOrd for Drive
impl PartialOrd for Drive
impl StructuralPartialEq for Drive
Auto Trait Implementations§
impl Freeze for Drive
impl RefUnwindSafe for Drive
impl Send for Drive
impl Sync for Drive
impl Unpin for Drive
impl UnsafeUnpin 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