#[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§
Source§impl Ord for Drive
impl Ord for Drive
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)