#[repr(transparent)]pub struct Hctsiz(pub u32);
Expand description
Host channel transfer size register
Tuple Fields§
§0: u32
Implementations§
Source§impl Hctsiz
impl Hctsiz
Sourcepub fn set_xfrsiz(&mut self, val: u32)
pub fn set_xfrsiz(&mut self, val: u32)
Transfer size
Sourcepub fn set_pktcnt(&mut self, val: u16)
pub fn set_pktcnt(&mut self, val: u16)
Packet count
Trait Implementations§
impl Copy for Hctsiz
impl Eq for Hctsiz
impl StructuralPartialEq for Hctsiz
Auto Trait Implementations§
impl Freeze for Hctsiz
impl RefUnwindSafe for Hctsiz
impl Send for Hctsiz
impl Sync for Hctsiz
impl Unpin for Hctsiz
impl UnwindSafe for Hctsiz
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
)