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