#[repr(transparent)]pub struct Dieptsiz11(pub u32);Expand description
Device IN Endpoint Transfer Size Register
Tuple Fields§
§0: u32Implementations§
Source§impl Dieptsiz11
impl Dieptsiz11
Sourcepub const fn set_xfersize(&mut self, val: u32)
pub const fn set_xfersize(&mut self, val: u32)
Transfer Size (XferSize)
Sourcepub const fn set_pktcnt(&mut self, val: u16)
pub const fn set_pktcnt(&mut self, val: u16)
Packet Count (PktCnt)
Sourcepub const fn mc(&self) -> Dieptsiz11Mc
pub const fn mc(&self) -> Dieptsiz11Mc
MC
Sourcepub const fn set_mc(&mut self, val: Dieptsiz11Mc)
pub const fn set_mc(&mut self, val: Dieptsiz11Mc)
MC
Trait Implementations§
Source§impl Clone for Dieptsiz11
impl Clone for Dieptsiz11
Source§fn clone(&self) -> Dieptsiz11
fn clone(&self) -> Dieptsiz11
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 Dieptsiz11
impl Debug for Dieptsiz11
Source§impl Default for Dieptsiz11
impl Default for Dieptsiz11
Source§fn default() -> Dieptsiz11
fn default() -> Dieptsiz11
Returns the “default value” for a type. Read more
Source§impl PartialEq for Dieptsiz11
impl PartialEq for Dieptsiz11
impl Copy for Dieptsiz11
impl Eq for Dieptsiz11
impl StructuralPartialEq for Dieptsiz11
Auto Trait Implementations§
impl Freeze for Dieptsiz11
impl RefUnwindSafe for Dieptsiz11
impl Send for Dieptsiz11
impl Sync for Dieptsiz11
impl Unpin for Dieptsiz11
impl UnwindSafe for Dieptsiz11
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)