Struct rp_pac::usb::regs::BuffCpuShouldHandle
source · #[repr(transparent)]pub struct BuffCpuShouldHandle(pub u32);
Expand description
Which of the double buffers should be handled. Only valid if using an interrupt per buffer (i.e. not per 2 buffers). Not valid for host interrupt endpoint polling because they are only single buffered.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
source§impl Clone for BuffCpuShouldHandle
impl Clone for BuffCpuShouldHandle
source§fn clone(&self) -> BuffCpuShouldHandle
fn clone(&self) -> BuffCpuShouldHandle
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 Default for BuffCpuShouldHandle
impl Default for BuffCpuShouldHandle
source§fn default() -> BuffCpuShouldHandle
fn default() -> BuffCpuShouldHandle
Returns the “default value” for a type. Read more
source§impl PartialEq for BuffCpuShouldHandle
impl PartialEq for BuffCpuShouldHandle
impl Copy for BuffCpuShouldHandle
impl Eq for BuffCpuShouldHandle
impl StructuralPartialEq for BuffCpuShouldHandle
Auto Trait Implementations§
impl Freeze for BuffCpuShouldHandle
impl RefUnwindSafe for BuffCpuShouldHandle
impl Send for BuffCpuShouldHandle
impl Sync for BuffCpuShouldHandle
impl Unpin for BuffCpuShouldHandle
impl UnwindSafe for BuffCpuShouldHandle
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
)