pub struct Cdw10ReservationRegister(/* private fields */);Implementations§
Source§impl Cdw10ReservationRegister
impl Cdw10ReservationRegister
Sourcepub const fn with_rrega_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_rrega_checked(self, value: u8) -> Result<Self, ()>
Reservation register action
Bits: 0..3
Sourcepub const fn with_rrega(self, value: u8) -> Self
pub const fn with_rrega(self, value: u8) -> Self
Reservation register action
Bits: 0..3
Sourcepub const fn set_rrega_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_rrega_checked(&mut self, value: u8) -> Result<(), ()>
Reservation register action
Bits: 0..3
Sourcepub const fn with_iekey_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_iekey_checked(self, value: bool) -> Result<Self, ()>
Ignore existing key
Bits: 3..4
Sourcepub const fn with_iekey(self, value: bool) -> Self
pub const fn with_iekey(self, value: bool) -> Self
Ignore existing key
Bits: 3..4
Sourcepub const fn set_iekey_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_iekey_checked(&mut self, value: bool) -> Result<(), ()>
Ignore existing key
Bits: 3..4
Sourcepub const fn with_cptpl_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_cptpl_checked(self, value: u8) -> Result<Self, ()>
Change “persist through power loss” state
Bits: 30..32
Sourcepub const fn with_cptpl(self, value: u8) -> Self
pub const fn with_cptpl(self, value: u8) -> Self
Change “persist through power loss” state
Bits: 30..32
Trait Implementations§
Source§impl Clone for Cdw10ReservationRegister
impl Clone for Cdw10ReservationRegister
Source§fn clone(&self) -> Cdw10ReservationRegister
fn clone(&self) -> Cdw10ReservationRegister
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 Cdw10ReservationRegister
impl Debug for Cdw10ReservationRegister
Source§impl Default for Cdw10ReservationRegister
impl Default for Cdw10ReservationRegister
Source§impl From<Cdw10ReservationRegister> for u32
impl From<Cdw10ReservationRegister> for u32
Source§fn from(v: Cdw10ReservationRegister) -> u32
fn from(v: Cdw10ReservationRegister) -> u32
Converts to this type from the input type.
Source§impl From<u32> for Cdw10ReservationRegister
impl From<u32> for Cdw10ReservationRegister
impl Copy for Cdw10ReservationRegister
Auto Trait Implementations§
impl Freeze for Cdw10ReservationRegister
impl RefUnwindSafe for Cdw10ReservationRegister
impl Send for Cdw10ReservationRegister
impl Sync for Cdw10ReservationRegister
impl Unpin for Cdw10ReservationRegister
impl UnwindSafe for Cdw10ReservationRegister
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