[−][src]Struct differential_dataflow::hashable::HashableWrapper
Wrapper to stash hash value with the actual value.
Fields
item: T
The item, for reference.
Trait Implementations
impl<T: Hashable> Hashable for HashableWrapper<T>
[src]
impl<T: Ord + Hashable> HashOrdered for HashableWrapper<T>
[src]
impl<T: PartialOrd + Hashable> PartialOrd<HashableWrapper<T>> for HashableWrapper<T> where
T::Output: PartialOrd,
[src]
T::Output: PartialOrd,
fn partial_cmp(&self, other: &HashableWrapper<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &HashableWrapper<T>) -> bool
[src]
fn le(&self, other: &HashableWrapper<T>) -> bool
[src]
fn gt(&self, other: &HashableWrapper<T>) -> bool
[src]
fn ge(&self, other: &HashableWrapper<T>) -> bool
[src]
impl<T: Copy + Hashable> Copy for HashableWrapper<T> where
T::Output: Copy,
[src]
T::Output: Copy,
impl<T: PartialEq + Hashable> PartialEq<HashableWrapper<T>> for HashableWrapper<T> where
T::Output: PartialEq,
[src]
T::Output: PartialEq,
fn eq(&self, other: &HashableWrapper<T>) -> bool
[src]
fn ne(&self, other: &HashableWrapper<T>) -> bool
[src]
impl<T: Default + Hashable> Default for HashableWrapper<T> where
T::Output: Default,
[src]
T::Output: Default,
fn default() -> HashableWrapper<T>
[src]
impl<T: Hashable> From<T> for HashableWrapper<T>
[src]
fn from(item: T) -> HashableWrapper<T>
[src]
impl<T: Clone + Hashable> Clone for HashableWrapper<T> where
T::Output: Clone,
[src]
T::Output: Clone,
fn clone(&self) -> HashableWrapper<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Ord + Hashable> Ord for HashableWrapper<T> where
T::Output: Ord,
[src]
T::Output: Ord,
fn cmp(&self, other: &HashableWrapper<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more
impl<T: Eq + Hashable> Eq for HashableWrapper<T> where
T::Output: Eq,
[src]
T::Output: Eq,
impl<T: Debug + Hashable> Debug for HashableWrapper<T> where
T::Output: Debug,
[src]
T::Output: Debug,
impl<T: Hashable> Deref for HashableWrapper<T>
[src]
impl<T: Hashable + Abomonation> Abomonation for HashableWrapper<T>
[src]
Auto Trait Implementations
impl<T> Send for HashableWrapper<T> where
T: Send,
<T as Hashable>::Output: Send,
T: Send,
<T as Hashable>::Output: Send,
impl<T> Sync for HashableWrapper<T> where
T: Sync,
<T as Hashable>::Output: Sync,
T: Sync,
<T as Hashable>::Output: Sync,
Blanket Implementations
impl<T> Data for T where
T: Ord + Debug + ExchangeData,
[src]
T: Ord + Debug + ExchangeData,
impl<T> Hashable for T where
T: Hash,
[src]
T: Hash,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Data for T where
T: 'static + Send + Sync + Any + Abomonation,
T: 'static + Send + Sync + Any + Abomonation,
impl<T> Data for T where
T: 'static + Clone,
[src]
T: 'static + Clone,
impl<T> ExchangeData for T where
T: Data + Data,
[src]
T: Data + Data,