pub struct FrozenSetHash { /* private fields */ }Expand description
frozenset_hash: order-independent XOR-fold of a frozenset’s element hashes.
The entry hashes are fed in one at a time via FrozenSetHash::add, so the
caller keeps ownership of the iteration (which may hold a lock and compute
each element hash fallibly). The fold is commutative, so element order does
not affect the result.
Implementations§
Auto Trait Implementations§
impl Freeze for FrozenSetHash
impl RefUnwindSafe for FrozenSetHash
impl Send for FrozenSetHash
impl Sync for FrozenSetHash
impl Unpin for FrozenSetHash
impl UnsafeUnpin for FrozenSetHash
impl UnwindSafe for FrozenSetHash
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T, U> ImaginaryInto<U> for Twhere
U: ImaginaryFrom<T>,
impl<T, U> ImaginaryInto<U> for Twhere
U: ImaginaryFrom<T>,
fn imaginary_into(self) -> U
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