Struct timely::progress::nested::product::Product [] [src]

pub struct Product<TOuter, TInner> {
    pub outer: TOuter,
    pub inner: TInner,
}

A nested pair of timestamps, one outer and one inner.

We use Product rather than (TOuter, TInner) so that we can derive our own PartialOrd, because Rust just uses the lexicographic total order.

Fields

Outer timestamp.

Inner timestamp.

Methods

impl<TOuter, TInner> Product<TOuter, TInner>
[src]

[src]

Creates a new product from outer and inner coordinates.

Trait Implementations

impl<TOuter: Copy, TInner: Copy> Copy for Product<TOuter, TInner>
[src]

impl<TOuter: Clone, TInner: Clone> Clone for Product<TOuter, TInner>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<TOuter: Hash, TInner: Hash> Hash for Product<TOuter, TInner>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<TOuter: Eq, TInner: Eq> Eq for Product<TOuter, TInner>
[src]

impl<TOuter: PartialEq, TInner: PartialEq> PartialEq for Product<TOuter, TInner>
[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<TOuter: Default, TInner: Default> Default for Product<TOuter, TInner>
[src]

[src]

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

impl<TOuter: Ord, TInner: Ord> Ord for Product<TOuter, TInner>
[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<TOuter: PartialOrd, TInner: PartialOrd> PartialOrd for Product<TOuter, TInner>
[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<TOuter: Debug, TInner: Debug> Debug for Product<TOuter, TInner>
[src]

Debug implementation to avoid seeing fully qualified path names.

[src]

Formats the value using the given formatter.

impl<TOuter: PartialOrder, TInner: PartialOrder> PartialOrder for Product<TOuter, TInner>
[src]

[src]

Returns true iff one element is less than or equal to the other.

[src]

Returns true iff one element is strictly less than the other.

impl<TOuter: Timestamp, TInner: Timestamp> Timestamp for Product<TOuter, TInner>
[src]

A type summarizing action on a timestamp along a dataflow path.

impl<TOuter: Abomonation, TInner: Abomonation> Abomonation for Product<TOuter, TInner>
[src]

[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]

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

[src]

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

impl<T1: Empty, T2: Empty> Empty for Product<T1, T2>
[src]

impl<T1, T2> TotalOrder for Product<T1, T2> where
    T1: Empty,
    T2: TotalOrder
[src]