#[repr(transparent)]pub struct Databufstart(pub u32);Expand description
USB Data buffer start address
Tuple Fields§
§0: u32Implementations§
Source§impl Databufstart
impl Databufstart
Sourcepub const fn da_buf_fixed(&self) -> u32
pub const fn da_buf_fixed(&self) -> u32
The fixed portion of the data buffer start address.
Sourcepub const fn set_da_buf_fixed(&mut self, val: u32)
pub const fn set_da_buf_fixed(&mut self, val: u32)
The fixed portion of the data buffer start address.
Sourcepub const fn set_da_buf(&mut self, val: u16)
pub const fn set_da_buf(&mut self, val: u16)
Programmable portion of the data buffer start address.
Trait Implementations§
Source§impl Clone for Databufstart
impl Clone for Databufstart
Source§fn clone(&self) -> Databufstart
fn clone(&self) -> Databufstart
Returns a duplicate 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 Databufstart
impl Debug for Databufstart
Source§impl Default for Databufstart
impl Default for Databufstart
Source§fn default() -> Databufstart
fn default() -> Databufstart
Returns the “default value” for a type. Read more
Source§impl PartialEq for Databufstart
impl PartialEq for Databufstart
impl Copy for Databufstart
impl Eq for Databufstart
impl StructuralPartialEq for Databufstart
Auto Trait Implementations§
impl Freeze for Databufstart
impl RefUnwindSafe for Databufstart
impl Send for Databufstart
impl Sync for Databufstart
impl Unpin for Databufstart
impl UnwindSafe for Databufstart
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