#[repr(transparent)]pub struct RotkhRevoke(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl RotkhRevoke
impl RotkhRevoke
Sourcepub const fn ro_tk0_en(&self) -> u8
pub const fn ro_tk0_en(&self) -> u8
RoT Key 0 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn set_ro_tk0_en(&mut self, val: u8)
pub const fn set_ro_tk0_en(&mut self, val: u8)
RoT Key 0 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn ro_tk1_en(&self) -> u8
pub const fn ro_tk1_en(&self) -> u8
RoT Key 1 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn set_ro_tk1_en(&mut self, val: u8)
pub const fn set_ro_tk1_en(&mut self, val: u8)
RoT Key 1 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn ro_tk2_en(&self) -> u8
pub const fn ro_tk2_en(&self) -> u8
RoT Key 2 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn set_ro_tk2_en(&mut self, val: u8)
pub const fn set_ro_tk2_en(&mut self, val: u8)
RoT Key 2 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn ro_tk3_en(&self) -> u8
pub const fn ro_tk3_en(&self) -> u8
RoT Key 3 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Sourcepub const fn set_ro_tk3_en(&mut self, val: u8)
pub const fn set_ro_tk3_en(&mut self, val: u8)
RoT Key 3 enable. 00 - Invalid 01 - Enabled 10, 11 - Key revoked
Trait Implementations§
Source§impl Clone for RotkhRevoke
impl Clone for RotkhRevoke
Source§fn clone(&self) -> RotkhRevoke
fn clone(&self) -> RotkhRevoke
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 RotkhRevoke
impl Debug for RotkhRevoke
Source§impl Default for RotkhRevoke
impl Default for RotkhRevoke
Source§fn default() -> RotkhRevoke
fn default() -> RotkhRevoke
Returns the “default value” for a type. Read more
Source§impl PartialEq for RotkhRevoke
impl PartialEq for RotkhRevoke
impl Copy for RotkhRevoke
impl Eq for RotkhRevoke
impl StructuralPartialEq for RotkhRevoke
Auto Trait Implementations§
impl Freeze for RotkhRevoke
impl RefUnwindSafe for RotkhRevoke
impl Send for RotkhRevoke
impl Sync for RotkhRevoke
impl Unpin for RotkhRevoke
impl UnwindSafe for RotkhRevoke
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