Struct HashSelect
#[repr(transparent)]pub struct HashSelect(pub u32);Expand description
Select HASH or GHASH engine as the digest engine to use.
Tuple Fields§
§0: u32Implementations§
§impl HashSelect
impl HashSelect
pub const fn set_engine(&mut self, val: Engine)
pub const fn set_engine(&mut self, val: Engine)
Select HASH or GHASH engine as the digest engine.
Trait Implementations§
§impl Clone for HashSelect
impl Clone for HashSelect
§fn clone(&self) -> HashSelect
fn clone(&self) -> HashSelect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HashSelect
§impl Debug for HashSelect
impl Debug for HashSelect
§impl Default for HashSelect
impl Default for HashSelect
§fn default() -> HashSelect
fn default() -> HashSelect
Returns the “default value” for a type. Read more
impl Eq for HashSelect
§impl PartialEq for HashSelect
impl PartialEq for HashSelect
impl StructuralPartialEq for HashSelect
Auto Trait Implementations§
impl Freeze for HashSelect
impl RefUnwindSafe for HashSelect
impl Send for HashSelect
impl Sync for HashSelect
impl Unpin for HashSelect
impl UnsafeUnpin for HashSelect
impl UnwindSafe for HashSelect
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