#[repr(transparent)]pub struct Capability1(pub u32);Expand description
DCP capability 1 register
Tuple Fields§
§0: u32Implementations§
Source§impl Capability1
impl Capability1
Sourcepub const fn cipher_algorithms(&self) -> CipherAlgorithms
pub const fn cipher_algorithms(&self) -> CipherAlgorithms
One-hot field indicating which cipher algorithms are available
Sourcepub const fn set_cipher_algorithms(&mut self, val: CipherAlgorithms)
pub const fn set_cipher_algorithms(&mut self, val: CipherAlgorithms)
One-hot field indicating which cipher algorithms are available
Sourcepub const fn hash_algorithms(&self) -> HashAlgorithms
pub const fn hash_algorithms(&self) -> HashAlgorithms
One-hot field indicating which hashing features are implemented in the hardware
Sourcepub const fn set_hash_algorithms(&mut self, val: HashAlgorithms)
pub const fn set_hash_algorithms(&mut self, val: HashAlgorithms)
One-hot field indicating which hashing features are implemented in the hardware
Trait Implementations§
Source§impl Clone for Capability1
impl Clone for Capability1
Source§fn clone(&self) -> Capability1
fn clone(&self) -> Capability1
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 Capability1
impl Debug for Capability1
Source§impl Default for Capability1
impl Default for Capability1
Source§fn default() -> Capability1
fn default() -> Capability1
Returns the “default value” for a type. Read more
Source§impl PartialEq for Capability1
impl PartialEq for Capability1
impl Copy for Capability1
impl Eq for Capability1
impl StructuralPartialEq for Capability1
Auto Trait Implementations§
impl Freeze for Capability1
impl RefUnwindSafe for Capability1
impl Send for Capability1
impl Sync for Capability1
impl Unpin for Capability1
impl UnwindSafe for Capability1
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