#[repr(transparent)]pub struct Hciversion(pub u16);Expand description
Host Controller Interface Version
Tuple Fields§
§0: u16Implementations§
Source§impl Hciversion
impl Hciversion
Sourcepub const fn hciversion(&self) -> u16
pub const fn hciversion(&self) -> u16
Host Controller Interface Version Number Default value is ‘10h’, which means EHCI rev1.0.
Sourcepub const fn set_hciversion(&mut self, val: u16)
pub const fn set_hciversion(&mut self, val: u16)
Host Controller Interface Version Number Default value is ‘10h’, which means EHCI rev1.0.
Trait Implementations§
Source§impl Clone for Hciversion
impl Clone for Hciversion
Source§fn clone(&self) -> Hciversion
fn clone(&self) -> Hciversion
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 Hciversion
impl Debug for Hciversion
Source§impl Default for Hciversion
impl Default for Hciversion
Source§fn default() -> Hciversion
fn default() -> Hciversion
Returns the “default value” for a type. Read more
Source§impl PartialEq for Hciversion
impl PartialEq for Hciversion
impl Copy for Hciversion
impl Eq for Hciversion
impl StructuralPartialEq for Hciversion
Auto Trait Implementations§
impl Freeze for Hciversion
impl RefUnwindSafe for Hciversion
impl Send for Hciversion
impl Sync for Hciversion
impl Unpin for Hciversion
impl UnwindSafe for Hciversion
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