#[repr(transparent)]pub struct Pkecommand(pub u32);
Expand description
PKE Command register.
Tuple Fields§
§0: u32
Implementations§
Source§impl Pkecommand
impl Pkecommand
Sourcepub const fn securemode(&self) -> bool
pub const fn securemode(&self) -> bool
Secure mode.
Sourcepub fn set_securemode(&mut self, val: bool)
pub fn set_securemode(&mut self, val: bool)
Secure mode.
Sourcepub const fn selectedkey(&self) -> u8
pub const fn selectedkey(&self) -> u8
Select Generated Private Key for PKE operation.
Sourcepub fn set_selectedkey(&mut self, val: u8)
pub fn set_selectedkey(&mut self, val: u8)
Select Generated Private Key for PKE operation.
Trait Implementations§
Source§impl Clone for Pkecommand
impl Clone for Pkecommand
Source§fn clone(&self) -> Pkecommand
fn clone(&self) -> Pkecommand
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 Default for Pkecommand
impl Default for Pkecommand
Source§fn default() -> Pkecommand
fn default() -> Pkecommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for Pkecommand
impl PartialEq for Pkecommand
impl Copy for Pkecommand
impl Eq for Pkecommand
impl StructuralPartialEq for Pkecommand
Auto Trait Implementations§
impl Freeze for Pkecommand
impl RefUnwindSafe for Pkecommand
impl Send for Pkecommand
impl Sync for Pkecommand
impl Unpin for Pkecommand
impl UnwindSafe for Pkecommand
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
)