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

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

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

Fields

The item.

Trait Implementations

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

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

[src]

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

[src]

Perform any final edits before committing &mut self. Importantly, this method should only manipulate the fields of self; any owned memory may not be valid. Read more

[src]

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

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

[src]

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

Compares and returns the maximum of two values. Read more

[src]

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

Compares and returns the minimum of two values. Read more

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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: PartialEq + Unsigned + Copy> PartialEq for UnsignedWrapper<T>
[src]

[src]

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

[src]

This method tests for !=.

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

[src]

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

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

[src]

Formats the value using the given formatter.

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

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

The type of the output value.

[src]

A well-distributed integer derived from the data.

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Performs the conversion.