pub struct TupleHash256Hash(/* private fields */);Expand description
Wrapper for TupleHash256 that implements lib-q-core Hash trait
Implementations§
Source§impl TupleHash256Hash
impl TupleHash256Hash
Sourcepub fn new_with_custom(custom: &[u8]) -> Self
pub fn new_with_custom(custom: &[u8]) -> Self
Creates a new TupleHash256 hash instance with customization
Trait Implementations§
Source§impl Clone for TupleHash256Hash
impl Clone for TupleHash256Hash
Source§fn clone(&self) -> TupleHash256Hash
fn clone(&self) -> TupleHash256Hash
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 moreSource§impl Debug for TupleHash256Hash
impl Debug for TupleHash256Hash
Source§impl Default for TupleHash256Hash
impl Default for TupleHash256Hash
Auto Trait Implementations§
impl Freeze for TupleHash256Hash
impl RefUnwindSafe for TupleHash256Hash
impl Send for TupleHash256Hash
impl Sync for TupleHash256Hash
impl Unpin for TupleHash256Hash
impl UnsafeUnpin for TupleHash256Hash
impl UnwindSafe for TupleHash256Hash
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more