Struct differential_dataflow::hashable::HashableWrapper
[−]
[src]
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: Ord + Hashable> HashOrdered for HashableWrapper<T>[src]
impl<T: Hashable + Abomonation> Abomonation for HashableWrapper<T>[src]
unsafe fn entomb<W: Write>(&self, write: &mut W) -> Result<()>[src]
Write any additional information about &self beyond its binary representation. Read more
unsafe fn exhume<'a, 'b>(
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>[src]
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
Recover any information for &mut self not evident from its binary representation. Read more
fn extent(&self) -> usize[src]
Reports the number of further bytes required to entomb self.
impl<T: Clone + Hashable> Clone for HashableWrapper<T> where
T::Output: Clone, [src]
T::Output: Clone,
fn clone(&self) -> HashableWrapper<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: Default + Hashable> Default for HashableWrapper<T> where
T::Output: Default, [src]
T::Output: Default,
fn default() -> HashableWrapper<T>[src]
Returns the "default value" for a type. Read more
impl<T: Ord + Hashable> Ord for HashableWrapper<T> where
T::Output: Ord, [src]
T::Output: Ord,
fn cmp(&self, __arg_0: &HashableWrapper<T>) -> Ordering[src]
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
impl<T: PartialOrd + Hashable> PartialOrd for HashableWrapper<T> where
T::Output: PartialOrd, [src]
T::Output: PartialOrd,
fn partial_cmp(&self, __arg_0: &HashableWrapper<T>) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &HashableWrapper<T>) -> bool[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &HashableWrapper<T>) -> bool[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &HashableWrapper<T>) -> bool[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &HashableWrapper<T>) -> bool[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl<T: Eq + Hashable> Eq for HashableWrapper<T> where
T::Output: Eq, [src]
T::Output: Eq,
impl<T: PartialEq + Hashable> PartialEq for HashableWrapper<T> where
T::Output: PartialEq, [src]
T::Output: PartialEq,
fn eq(&self, __arg_0: &HashableWrapper<T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &HashableWrapper<T>) -> bool[src]
This method tests for !=.
impl<T: Debug + Hashable> Debug for HashableWrapper<T> where
T::Output: Debug, [src]
T::Output: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<T: Copy + Hashable> Copy for HashableWrapper<T> where
T::Output: Copy, [src]
T::Output: Copy,
impl<T: Hashable> Hashable for HashableWrapper<T>[src]
type Output = T::Output
The type of the output value.
fn hashed(&self) -> T::Output[src]
A well-distributed integer derived from the data.
impl<T: Hashable> Deref for HashableWrapper<T>[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T[src]
Dereferences the value.
impl<T: Hashable> From<T> for HashableWrapper<T>[src]
fn from(item: T) -> HashableWrapper<T>[src]
Performs the conversion.