#[repr(transparent)]pub struct Caplength(pub u8);Expand description
Capability Registers Length
Tuple Fields§
§0: u8Implementations§
Source§impl Caplength
impl Caplength
Sourcepub const fn caplength(&self) -> u8
pub const fn caplength(&self) -> u8
These bits are used as an offset to add to register base to find the beginning of the Operational Register
Sourcepub const fn set_caplength(&mut self, val: u8)
pub const fn set_caplength(&mut self, val: u8)
These bits are used as an offset to add to register base to find the beginning of the Operational Register
Trait Implementations§
impl Copy for Caplength
impl Eq for Caplength
impl StructuralPartialEq for Caplength
Auto Trait Implementations§
impl Freeze for Caplength
impl RefUnwindSafe for Caplength
impl Send for Caplength
impl Sync for Caplength
impl Unpin for Caplength
impl UnwindSafe for Caplength
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