Struct differential_dataflow::hashable::HashableWrapper
source · pub struct HashableWrapper<T: Hashable> {
pub item: T,
/* private fields */
}Expand description
Wrapper to stash hash value with the actual value.
Fields
item: TThe item, for reference.
Trait Implementations
sourceimpl<T: Hashable + Abomonation> Abomonation for HashableWrapper<T>
impl<T: Hashable + Abomonation> Abomonation for HashableWrapper<T>
sourceunsafe fn entomb<W: Write>(&self, write: &mut W) -> Result<()>
unsafe fn entomb<W: Write>(&self, write: &mut W) -> Result<()>
Write any additional information about
&self beyond its binary representation. Read moresourceimpl<T: Clone + Hashable> Clone for HashableWrapper<T>where
T::Output: Clone,
impl<T: Clone + Hashable> Clone for HashableWrapper<T>where
T::Output: Clone,
sourcefn clone(&self) -> HashableWrapper<T>
fn clone(&self) -> HashableWrapper<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T: Default + Hashable> Default for HashableWrapper<T>where
T::Output: Default,
impl<T: Default + Hashable> Default for HashableWrapper<T>where
T::Output: Default,
sourcefn default() -> HashableWrapper<T>
fn default() -> HashableWrapper<T>
Returns the “default value” for a type. Read more
sourceimpl<T: Hashable> Deref for HashableWrapper<T>
impl<T: Hashable> Deref for HashableWrapper<T>
sourceimpl<T: Hashable> From<T> for HashableWrapper<T>
impl<T: Hashable> From<T> for HashableWrapper<T>
sourcefn from(item: T) -> HashableWrapper<T>
fn from(item: T) -> HashableWrapper<T>
Converts to this type from the input type.
sourceimpl<T: Hashable> Hashable for HashableWrapper<T>
impl<T: Hashable> Hashable for HashableWrapper<T>
sourceimpl<T: Ord + Hashable> Ord for HashableWrapper<T>where
T::Output: Ord,
impl<T: Ord + Hashable> Ord for HashableWrapper<T>where
T::Output: Ord,
sourcefn cmp(&self, other: &HashableWrapper<T>) -> Ordering
fn cmp(&self, other: &HashableWrapper<T>) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<T: PartialEq + Hashable> PartialEq<HashableWrapper<T>> for HashableWrapper<T>where
T::Output: PartialEq,
impl<T: PartialEq + Hashable> PartialEq<HashableWrapper<T>> for HashableWrapper<T>where
T::Output: PartialEq,
sourcefn eq(&self, other: &HashableWrapper<T>) -> bool
fn eq(&self, other: &HashableWrapper<T>) -> bool
sourceimpl<T: PartialOrd + Hashable> PartialOrd<HashableWrapper<T>> for HashableWrapper<T>where
T::Output: PartialOrd,
impl<T: PartialOrd + Hashable> PartialOrd<HashableWrapper<T>> for HashableWrapper<T>where
T::Output: PartialOrd,
sourcefn partial_cmp(&self, other: &HashableWrapper<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &HashableWrapper<T>) -> Option<Ordering>
1.0.0 · sourcefn 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 + Hashable> Copy for HashableWrapper<T>where
T::Output: Copy,
impl<T: Eq + Hashable> Eq for HashableWrapper<T>where
T::Output: Eq,
impl<T: Ord + Hashable> HashOrdered for HashableWrapper<T>
impl<T: Hashable> StructuralEq for HashableWrapper<T>
impl<T: Hashable> StructuralPartialEq for HashableWrapper<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for HashableWrapper<T>where
T: RefUnwindSafe,
<T as Hashable>::Output: RefUnwindSafe,
impl<T> Send for HashableWrapper<T>where
T: Send,
<T as Hashable>::Output: Send,
impl<T> Sync for HashableWrapper<T>where
T: Sync,
<T as Hashable>::Output: Sync,
impl<T> Unpin for HashableWrapper<T>where
T: Unpin,
<T as Hashable>::Output: Unpin,
impl<T> UnwindSafe for HashableWrapper<T>where
T: UnwindSafe,
<T as Hashable>::Output: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more