#[repr(transparent)]pub struct SofRd(pub u32);
Expand description
Read the last SOF (Start of Frame) frame number seen. In device mode the last SOF received from the host. In host mode the last SOF sent by the host.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
impl Copy for SofRd
impl Eq for SofRd
impl StructuralPartialEq for SofRd
Auto Trait Implementations§
impl Freeze for SofRd
impl RefUnwindSafe for SofRd
impl Send for SofRd
impl Sync for SofRd
impl Unpin for SofRd
impl UnwindSafe for SofRd
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
)