#[repr(u8)]pub enum Linestate {
LS1 = 0,
LS2 = 1,
LS3 = 2,
LS4 = 3,
}Variants§
LS1 = 0
Linestate on USB: DM = 0, DP = 0
LS2 = 1
Linestate on USB: DM = 0, DP = 1
LS3 = 2
Linestate on USB: DM = 1, DP = 0
LS4 = 3
Linestate on USB: Not-defined
Implementations§
Trait Implementations§
Source§impl Ord for Linestate
impl Ord for Linestate
Source§impl PartialOrd for Linestate
impl PartialOrd for Linestate
impl Copy for Linestate
impl Eq for Linestate
impl StructuralPartialEq for Linestate
Auto Trait Implementations§
impl Freeze for Linestate
impl RefUnwindSafe for Linestate
impl Send for Linestate
impl Sync for Linestate
impl Unpin for Linestate
impl UnwindSafe for Linestate
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)