Struct differential_dataflow::trace::implementations::rhh::HashWrapper
source · pub struct HashWrapper<T: Hash + Hashable> {
pub inner: T,
}
Expand description
A hash-ordered wrapper that modifies Ord
and PartialOrd
.
Fields§
§inner: T
The inner value, freely modifiable.
Trait Implementations§
source§impl<T> Abomonation for HashWrapper<T>
impl<T> Abomonation for HashWrapper<T>
source§impl<T: Clone + Hash + Hashable> Clone for HashWrapper<T>
impl<T: Clone + Hash + Hashable> Clone for HashWrapper<T>
source§fn clone(&self) -> HashWrapper<T>
fn clone(&self) -> HashWrapper<T>
Returns a copy 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<T: Default + Hash + Hashable> Default for HashWrapper<T>
impl<T: Default + Hash + Hashable> Default for HashWrapper<T>
source§fn default() -> HashWrapper<T>
fn default() -> HashWrapper<T>
Returns the “default value” for a type. Read more
source§impl<T: Ord + PartialOrd + Hash + Hashable> Ord for HashWrapper<T>
impl<T: Ord + PartialOrd + Hash + Hashable> Ord for HashWrapper<T>
source§impl<T: PartialEq + Hash + Hashable> PartialEq for HashWrapper<T>
impl<T: PartialEq + Hash + Hashable> PartialEq for HashWrapper<T>
source§fn eq(&self, other: &HashWrapper<T>) -> bool
fn eq(&self, other: &HashWrapper<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: PartialOrd + Hash + Hashable> PartialOrd for HashWrapper<T>
impl<T: PartialOrd + Hash + Hashable> PartialOrd for HashWrapper<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Copy + Hash + Hashable> Copy for HashWrapper<T>
impl<T: Eq + Hash + Hashable> Eq for HashWrapper<T>
impl<T: Hash + Hashable> HashOrdered for HashWrapper<T>
impl<T: Hash + Hashable> StructuralPartialEq for HashWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for HashWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for HashWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for HashWrapper<T>where
T: Send,
impl<T> Sync for HashWrapper<T>where
T: Sync,
impl<T> Unpin for HashWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for HashWrapper<T>where
T: UnwindSafe,
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<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.