[][src]Struct differential_dataflow::hashable::UnsignedWrapper

pub struct UnsignedWrapper<T: Unsigned + Copy> {
    pub item: T,
}

A wrapper around an unsigned integer, providing hashed as the value itself.

Fields

item: T

The item.

Trait Implementations

impl<T: Unsigned + Copy> Hashable for UnsignedWrapper<T>[src]

type Output = T

The type of the output value.

impl<T: Unsigned + Copy> HashOrdered for UnsignedWrapper<T>[src]

impl<T: Ord + Unsigned + Copy> Ord for UnsignedWrapper<T>[src]

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

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl<T: Clone + Unsigned + Copy> Clone for UnsignedWrapper<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: Eq + Unsigned + Copy> Eq for UnsignedWrapper<T>[src]

impl<T: Unsigned + Copy> From<T> for UnsignedWrapper<T>[src]

impl<T: Copy + Unsigned> Copy for UnsignedWrapper<T>[src]

impl<T: Default + Unsigned + Copy> Default for UnsignedWrapper<T>[src]

impl<T: PartialEq + Unsigned + Copy> PartialEq<UnsignedWrapper<T>> for UnsignedWrapper<T>[src]

impl<T: PartialOrd + Unsigned + Copy> PartialOrd<UnsignedWrapper<T>> for UnsignedWrapper<T>[src]

impl<T: Debug + Unsigned + Copy> Debug for UnsignedWrapper<T>[src]

impl<T: Unsigned + Copy> Deref for UnsignedWrapper<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Unsigned + Copy + Hashable + Abomonation> Abomonation for UnsignedWrapper<T>[src]

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

Reports the number of further bytes required to entomb self.

Auto Trait Implementations

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

impl<T> Unpin for UnsignedWrapper<T> where
    T: Unpin

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

impl<T> RefUnwindSafe for UnsignedWrapper<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for UnsignedWrapper<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> ExchangeData 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<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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]