pub struct TupleHash128Hash(/* private fields */);Expand description
Wrapper for TupleHash128 that implements lib-q-core Hash trait
Implementations§
Source§impl TupleHash128Hash
impl TupleHash128Hash
Sourcepub fn new_with_custom(custom: &[u8]) -> Self
pub fn new_with_custom(custom: &[u8]) -> Self
Creates a new TupleHash128 hash instance with customization
Trait Implementations§
Source§impl Clone for TupleHash128Hash
impl Clone for TupleHash128Hash
Source§fn clone(&self) -> TupleHash128Hash
fn clone(&self) -> TupleHash128Hash
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 TupleHash128Hash
impl Debug for TupleHash128Hash
Source§impl Default for TupleHash128Hash
impl Default for TupleHash128Hash
Auto Trait Implementations§
impl Freeze for TupleHash128Hash
impl RefUnwindSafe for TupleHash128Hash
impl Send for TupleHash128Hash
impl Sync for TupleHash128Hash
impl Unpin for TupleHash128Hash
impl UnsafeUnpin for TupleHash128Hash
impl UnwindSafe for TupleHash128Hash
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