pub struct Cc(/* private fields */);
Implementations§
Source§impl Cc
impl Cc
Sourcepub const fn with_en_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_reserved_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u8) -> Result<Self, ()>
Bits: 1..4
Sourcepub const fn with_reserved(self, value: u8) -> Self
pub const fn with_reserved(self, value: u8) -> Self
Bits: 1..4
Sourcepub const fn set_reserved(&mut self, value: u8)
pub const fn set_reserved(&mut self, value: u8)
Bits: 1..4
Sourcepub const fn with_css_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_css_checked(self, value: u8) -> Result<Self, ()>
Bits: 4..7
Sourcepub const fn with_mps_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_mps_checked(self, value: u8) -> Result<Self, ()>
Bits: 7..11
Sourcepub const fn with_ams_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_ams_checked(self, value: u8) -> Result<Self, ()>
Bits: 11..14
Sourcepub const fn with_shn_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_shn_checked(self, value: u8) -> Result<Self, ()>
Bits: 14..16
Sourcepub const fn with_iosqes_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_iosqes_checked(self, value: u8) -> Result<Self, ()>
Bits: 16..20
Sourcepub const fn with_iosqes(self, value: u8) -> Self
pub const fn with_iosqes(self, value: u8) -> Self
Bits: 16..20
Sourcepub const fn set_iosqes(&mut self, value: u8)
pub const fn set_iosqes(&mut self, value: u8)
Bits: 16..20
Sourcepub const fn with_iocqes_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_iocqes_checked(self, value: u8) -> Result<Self, ()>
Bits: 20..24
Sourcepub const fn with_iocqes(self, value: u8) -> Self
pub const fn with_iocqes(self, value: u8) -> Self
Bits: 20..24
Sourcepub const fn set_iocqes(&mut self, value: u8)
pub const fn set_iocqes(&mut self, value: u8)
Bits: 20..24
Sourcepub const fn with_crime_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_crime_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_crime(self, value: bool) -> Self
pub const fn with_crime(self, value: bool) -> Self
Bits: 24..25
Sourcepub const fn with_reserved2_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_reserved2_checked(self, value: u8) -> Result<Self, ()>
Bits: 25..32
Sourcepub const fn with_reserved2(self, value: u8) -> Self
pub const fn with_reserved2(self, value: u8) -> Self
Bits: 25..32
Sourcepub const fn set_reserved2(&mut self, value: u8)
pub const fn set_reserved2(&mut self, value: u8)
Bits: 25..32
Trait Implementations§
impl Copy for Cc
Auto Trait Implementations§
impl Freeze for Cc
impl RefUnwindSafe for Cc
impl Send for Cc
impl Sync for Cc
impl Unpin for Cc
impl UnwindSafe for Cc
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