pub struct Cdw10Identify(/* private fields */);
Implementations§
Source§impl Cdw10Identify
impl Cdw10Identify
Sourcepub const fn with_cns_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_cns_checked(self, value: u8) -> Result<Self, ()>
Bits: 0..8
Sourcepub const fn with_reserved_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u8) -> Result<Self, ()>
Bits: 8..16
Sourcepub const fn with_reserved(self, value: u8) -> Self
pub const fn with_reserved(self, value: u8) -> Self
Bits: 8..16
Sourcepub const fn set_reserved(&mut self, value: u8)
pub const fn set_reserved(&mut self, value: u8)
Bits: 8..16
Sourcepub const fn with_cntid_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_cntid_checked(self, value: u16) -> Result<Self, ()>
Bits: 16..32
Sourcepub const fn with_cntid(self, value: u16) -> Self
pub const fn with_cntid(self, value: u16) -> Self
Bits: 16..32
Trait Implementations§
Source§impl Clone for Cdw10Identify
impl Clone for Cdw10Identify
Source§fn clone(&self) -> Cdw10Identify
fn clone(&self) -> Cdw10Identify
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 Debug for Cdw10Identify
impl Debug for Cdw10Identify
Source§impl Default for Cdw10Identify
impl Default for Cdw10Identify
Source§impl From<Cdw10Identify> for u32
impl From<Cdw10Identify> for u32
Source§fn from(v: Cdw10Identify) -> u32
fn from(v: Cdw10Identify) -> u32
Converts to this type from the input type.
Source§impl From<u32> for Cdw10Identify
impl From<u32> for Cdw10Identify
impl Copy for Cdw10Identify
Auto Trait Implementations§
impl Freeze for Cdw10Identify
impl RefUnwindSafe for Cdw10Identify
impl Send for Cdw10Identify
impl Sync for Cdw10Identify
impl Unpin for Cdw10Identify
impl UnwindSafe for Cdw10Identify
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