Struct differential_dataflow::hashable::OrdWrapper[][src]

pub struct OrdWrapper<T: Ord + Hashable> {
    pub item: T,
}

A wrapper around hashable types that ensures an implementation of Ord that compares hash values first.

Fields

The item, so you can grab it.

Trait Implementations

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

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

Write any additional information about &self beyond its binary representation. Read more

Recover any information for &mut self not evident from its binary representation. Read more

Reports the number of further bytes required to entomb self.

impl<T: Clone + Ord + Hashable> Clone for OrdWrapper<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Eq + Ord + Hashable> Eq for OrdWrapper<T>
[src]

impl<T: PartialEq + Ord + Hashable> PartialEq for OrdWrapper<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Debug + Ord + Hashable> Debug for OrdWrapper<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Default + Ord + Hashable> Default for OrdWrapper<T>
[src]

Returns the "default value" for a type. Read more

impl<T: Ord + Hashable> PartialOrd for OrdWrapper<T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

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

The type of the output value.

A well-distributed integer derived from the data.

impl<T: Ord + Hashable> Deref for OrdWrapper<T>
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl<T> Send for OrdWrapper<T> where
    T: Send

impl<T> Sync for OrdWrapper<T> where
    T: Sync