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: 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<'de, T> Deserialize<'de> for HashWrapper<T>
impl<'de, T> Deserialize<'de> for HashWrapper<T>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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: PartialOrd + Hash + Hashable> PartialOrd for HashWrapper<T>
impl<T: PartialOrd + Hash + Hashable> PartialOrd for HashWrapper<T>
source§impl<T> Serialize for HashWrapper<T>
impl<T> Serialize for HashWrapper<T>
impl<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> 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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> PreferredContainer for T
impl<T> PreferredContainer for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.