Struct tss_esapi::attributes::algorithm::AlgorithmAttributes
source · pub struct AlgorithmAttributes(pub TPMA_ALGORITHM);
Expand description
Bitfield representing the algorithm attributes.
Tuple Fields§
§0: TPMA_ALGORITHM
Implementations§
Trait Implementations§
source§impl<T> BitRange<T> for AlgorithmAttributeswhere
TPMA_ALGORITHM: BitRange<T>,
impl<T> BitRange<T> for AlgorithmAttributeswhere
TPMA_ALGORITHM: BitRange<T>,
source§impl<T> BitRangeMut<T> for AlgorithmAttributeswhere
TPMA_ALGORITHM: BitRangeMut<T>,
impl<T> BitRangeMut<T> for AlgorithmAttributeswhere
TPMA_ALGORITHM: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for AlgorithmAttributes
impl Clone for AlgorithmAttributes
source§fn clone(&self) -> AlgorithmAttributes
fn clone(&self) -> AlgorithmAttributes
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 Debug for AlgorithmAttributes
impl Debug for AlgorithmAttributes
source§impl From<AlgorithmAttributes> for TPMA_ALGORITHM
impl From<AlgorithmAttributes> for TPMA_ALGORITHM
source§fn from(algorithm_attributes: AlgorithmAttributes) -> Self
fn from(algorithm_attributes: AlgorithmAttributes) -> Self
Converts to this type from the input type.
source§impl From<u32> for AlgorithmAttributes
impl From<u32> for AlgorithmAttributes
source§fn from(tpma_algorithm: TPMA_ALGORITHM) -> Self
fn from(tpma_algorithm: TPMA_ALGORITHM) -> Self
Converts to this type from the input type.
source§impl PartialEq for AlgorithmAttributes
impl PartialEq for AlgorithmAttributes
source§fn eq(&self, other: &AlgorithmAttributes) -> bool
fn eq(&self, other: &AlgorithmAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AlgorithmAttributes
impl Eq for AlgorithmAttributes
impl StructuralPartialEq for AlgorithmAttributes
Auto Trait Implementations§
impl Freeze for AlgorithmAttributes
impl RefUnwindSafe for AlgorithmAttributes
impl Send for AlgorithmAttributes
impl Sync for AlgorithmAttributes
impl Unpin for AlgorithmAttributes
impl UnwindSafe for AlgorithmAttributes
Blanket Implementations§
source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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