#[repr(transparent)]pub struct Doeptsiz0(pub u32);Expand description
Device OUT Endpoint 0 Transfer Size Register
Tuple Fields§
§0: u32Implementations§
Source§impl Doeptsiz0
impl Doeptsiz0
Sourcepub const fn set_xfersize(&mut self, val: u8)
pub const fn set_xfersize(&mut self, val: u8)
Transfer Size (XferSize)
Sourcepub const fn set_pktcnt(&mut self, val: bool)
pub const fn set_pktcnt(&mut self, val: bool)
Packet Count (PktCnt)
Sourcepub const fn set_supcnt(&mut self, val: Supcnt)
pub const fn set_supcnt(&mut self, val: Supcnt)
SETUP Packet Count (SUPCnt)
Trait Implementations§
impl Copy for Doeptsiz0
impl Eq for Doeptsiz0
impl StructuralPartialEq for Doeptsiz0
Auto Trait Implementations§
impl Freeze for Doeptsiz0
impl RefUnwindSafe for Doeptsiz0
impl Send for Doeptsiz0
impl Sync for Doeptsiz0
impl Unpin for Doeptsiz0
impl UnwindSafe for Doeptsiz0
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)