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