#[repr(u8)]pub enum Drive {
S = 0,
H = 1,
D = 2,
E = 3,
}
Variants§
S = 0
Standard ‘0’
H = 1
High drive ‘0’
D = 2
Disconnect ‘0’(normally used for wired-or connections)
E = 3
Extra high drive ‘0’
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
)