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