pub struct Dcr(/* private fields */);
Implementations§
source§impl Dcr
impl Dcr
sourcepub const fn with_value_low(self, value: u8) -> Self
pub const fn with_value_low(self, value: u8) -> Self
Bits: 0..2
sourcepub fn set_value_low(&mut self, value: u8)
pub fn set_value_low(&mut self, value: u8)
Bits: 0..2
sourcepub const fn value_high(&self) -> u8
pub const fn value_high(&self) -> u8
Bits: 3..4
sourcepub const fn with_value_high(self, value: u8) -> Self
pub const fn with_value_high(self, value: u8) -> Self
Bits: 3..4
sourcepub fn set_value_high(&mut self, value: u8)
pub fn set_value_high(&mut self, value: u8)
Bits: 3..4
Trait Implementations§
impl Copy for Dcr
Auto Trait Implementations§
impl Freeze for Dcr
impl RefUnwindSafe for Dcr
impl Send for Dcr
impl Sync for Dcr
impl Unpin for Dcr
impl UnwindSafe for Dcr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)