Enum Drive
#[repr(u8)]pub enum Drive {
Show 16 variants
S0S1 = 0,
H0S1 = 1,
S0H1 = 2,
H0H1 = 3,
D0S1 = 4,
D0H1 = 5,
S0D1 = 6,
H0D1 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
E0E1 = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
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)
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
E0E1 = 11
Extra high drive ‘0’, extra high drive ‘1’
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Drive
impl Ord for Drive
§impl PartialOrd for Drive
impl PartialOrd for Drive
impl Copy for Drive
impl Eq 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 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