pub struct HashMatrix(/* private fields */);Expand description
The type of hash values. Takes up 512 bits of space.
Can be created only by composition of the provided
BrombergHashable
instances, since not all 512-bit sequences are valid hashes
(in fact, fewer than 1/4 of them will be valid).
Implementations§
Trait Implementations§
Source§impl Clone for HashMatrix
impl Clone for HashMatrix
Source§fn clone(&self) -> HashMatrix
fn clone(&self) -> HashMatrix
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 HashMatrix
impl Debug for HashMatrix
Source§impl Default for HashMatrix
impl Default for HashMatrix
Source§impl Hash for HashMatrix
impl Hash for HashMatrix
Source§impl Mul for HashMatrix
impl Mul for HashMatrix
Source§impl Ord for HashMatrix
impl Ord for HashMatrix
Source§fn cmp(&self, other: &HashMatrix) -> Ordering
fn cmp(&self, other: &HashMatrix) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HashMatrix
impl PartialEq for HashMatrix
Source§impl PartialOrd for HashMatrix
impl PartialOrd for HashMatrix
impl Copy for HashMatrix
impl Eq for HashMatrix
impl StructuralPartialEq for HashMatrix
Auto Trait Implementations§
impl Freeze for HashMatrix
impl RefUnwindSafe for HashMatrix
impl Send for HashMatrix
impl Sync for HashMatrix
impl Unpin for HashMatrix
impl UnwindSafe for HashMatrix
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