[−][src]Struct differential_dataflow::hashable::OrdWrapper
A wrapper around hashable types that ensures an implementation of Ord
that compares
hash values first.
Fields
item: T
The item, so you can grab it.
Trait Implementations
impl<T: Ord + Hashable> Hashable for OrdWrapper<T>
[src]
impl<T: Ord + Hashable> HashOrdered for OrdWrapper<T>
[src]
impl<T: Ord + Hashable> PartialOrd<OrdWrapper<T>> for OrdWrapper<T>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<T: PartialEq + Ord + Hashable> PartialEq<OrdWrapper<T>> for OrdWrapper<T>
[src]
fn eq(&self, other: &OrdWrapper<T>) -> bool
[src]
fn ne(&self, other: &OrdWrapper<T>) -> bool
[src]
impl<T: Default + Ord + Hashable> Default for OrdWrapper<T>
[src]
fn default() -> OrdWrapper<T>
[src]
impl<T: Clone + Ord + Hashable> Clone for OrdWrapper<T>
[src]
fn clone(&self) -> OrdWrapper<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 OrdWrapper<T>
[src]
fn cmp(&self, other: &Self) -> 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]
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 + Ord + Hashable> Eq for OrdWrapper<T>
[src]
impl<T: Debug + Ord + Hashable> Debug for OrdWrapper<T>
[src]
impl<T: Ord + Hashable> Deref for OrdWrapper<T>
[src]
impl<T: Ord + Hashable + Abomonation> Abomonation for OrdWrapper<T>
[src]
Auto Trait Implementations
impl<T> Send for OrdWrapper<T> where
T: Send,
T: Send,
impl<T> Sync for OrdWrapper<T> where
T: Sync,
T: 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,