#[repr(u8)]pub enum Xfersizewidth {
Show 16 variants
WIDTH11 = 0,
WIDTH12 = 1,
WIDTH13 = 2,
WIDTH14 = 3,
WIDTH15 = 4,
WIDTH16 = 5,
WIDTH17 = 6,
WIDTH18 = 7,
WIDTH19 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
WIDTH11 = 0
Width of Transfer Size Counter 11 bits
WIDTH12 = 1
Width of Transfer Size Counter 12 bits
WIDTH13 = 2
Width of Transfer Size Counter 13 bits
WIDTH14 = 3
Width of Transfer Size Counter 14 bits
WIDTH15 = 4
Width of Transfer Size Counter 15 bits
WIDTH16 = 5
Width of Transfer Size Counter 16 bits
WIDTH17 = 6
Width of Transfer Size Counter 17 bits
WIDTH18 = 7
Width of Transfer Size Counter 18 bits
WIDTH19 = 8
Width of Transfer Size Counter 19 bits
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl Xfersizewidth
impl Xfersizewidth
Trait Implementations§
Source§impl Clone for Xfersizewidth
impl Clone for Xfersizewidth
Source§fn clone(&self) -> Xfersizewidth
fn clone(&self) -> Xfersizewidth
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Xfersizewidth
impl Debug for Xfersizewidth
Source§impl From<Xfersizewidth> for u8
impl From<Xfersizewidth> for u8
Source§fn from(val: Xfersizewidth) -> u8
fn from(val: Xfersizewidth) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Xfersizewidth
impl From<u8> for Xfersizewidth
Source§fn from(val: u8) -> Xfersizewidth
fn from(val: u8) -> Xfersizewidth
Converts to this type from the input type.
Source§impl Ord for Xfersizewidth
impl Ord for Xfersizewidth
Source§fn cmp(&self, other: &Xfersizewidth) -> Ordering
fn cmp(&self, other: &Xfersizewidth) -> Ordering
1.21.0 · 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
Source§impl PartialEq for Xfersizewidth
impl PartialEq for Xfersizewidth
Source§impl PartialOrd for Xfersizewidth
impl PartialOrd for Xfersizewidth
impl Copy for Xfersizewidth
impl Eq for Xfersizewidth
impl StructuralPartialEq for Xfersizewidth
Auto Trait Implementations§
impl Freeze for Xfersizewidth
impl RefUnwindSafe for Xfersizewidth
impl Send for Xfersizewidth
impl Sync for Xfersizewidth
impl Unpin for Xfersizewidth
impl UnwindSafe for Xfersizewidth
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)