[][src]Struct differential_dataflow::hashable::HashableWrapper

pub struct HashableWrapper<T: Hashable> {
    pub item: T,
    // some fields omitted
}

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]

type Output = T::Output

The type of the output value.

impl<T: Ord + Hashable> HashOrdered for HashableWrapper<T>[src]

impl<T: PartialOrd + Hashable> PartialOrd<HashableWrapper<T>> for HashableWrapper<T> where
    T::Output: PartialOrd
[src]

impl<T: Copy + Hashable> Copy for HashableWrapper<T> where
    T::Output: Copy
[src]

impl<T: PartialEq + Hashable> PartialEq<HashableWrapper<T>> for HashableWrapper<T> where
    T::Output: PartialEq
[src]

impl<T: Default + Hashable> Default for HashableWrapper<T> where
    T::Output: Default
[src]

impl<T: Hashable> From<T> for HashableWrapper<T>[src]

impl<T: Clone + Hashable> Clone for HashableWrapper<T> where
    T::Output: Clone
[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]

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]

impl<T: Debug + Hashable> Debug for HashableWrapper<T> where
    T::Output: Debug
[src]

impl<T: Hashable> Deref for HashableWrapper<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Hashable + Abomonation> Abomonation for HashableWrapper<T>[src]

fn extent(&self) -> usize[src]

Reports the number of further bytes required to entomb self.

Auto Trait Implementations

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

Blanket Implementations

impl<T> Data for T where
    T: Ord + Debug + ExchangeData
[src]

impl<T> Hashable for T where
    T: Hash
[src]

type Output = u64

The type of the output value.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Data for T where
    T: 'static + Send + Sync + Any + Abomonation

impl<T> Data for T where
    T: 'static + Clone
[src]

impl<T> ExchangeData for T where
    T: Data + Data, 
[src]