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