Enum Value
#[repr(u8)]pub enum Value {
Nop = 0,
Data0 = 1,
Data1 = 2,
_RESERVED_3 = 3,
}Variants§
Nop = 0
No action on data toggle when writing the register with this value.
Data0 = 1
Data toggle is DATA0 on endpoint set by EP and IO.
Data1 = 2
Data toggle is DATA1 on endpoint set by EP and IO.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
impl Copy for Value
impl Eq for Value
§impl Ord for Value
impl Ord for Value
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 Value
impl PartialOrd for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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