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