[][src]Struct declarative_dataflow::timestamp::altneu::AltNeu

pub struct AltNeu<T> {
    pub time: T,
    pub neu: bool,
}

A pair of timestamps, partially ordered by the product order.

Fields

time: T

Inner timestamp.

neu: bool

alt < neu in timestamp comparisons.

Methods

impl<T> AltNeu<T>[src]

pub fn alt(time: T) -> Self[src]

Wraps a time in Alt.

pub fn neu(time: T) -> Self[src]

Wraps a time in Neu.

Trait Implementations

impl<T: PartialOrd> PartialOrd<AltNeu<T>> for AltNeu<T>[src]

impl<T: PartialEq> PartialEq<AltNeu<T>> for AltNeu<T>[src]

impl<T: Default> Default for AltNeu<T>[src]

impl<T: Clone> Clone for AltNeu<T>[src]

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

Performs copy-assignment from source. Read more

impl<T: Ord> Ord for AltNeu<T>[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.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)

Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more

impl<T: Eq> Eq for AltNeu<T>[src]

impl<T: Debug> Debug for AltNeu<T>[src]

impl<T: Hash> Hash for AltNeu<T>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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

impl<T: Timestamp> Refines<T> for AltNeu<T>[src]

impl<T: PartialOrder> PartialOrder for AltNeu<T>[src]

fn less_than(&self, other: &Self) -> bool[src]

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

impl<T: Timestamp> Timestamp for AltNeu<T>[src]

type Summary = ()

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

impl<T: Timestamp> PathSummary<AltNeu<T>> for ()[src]

impl<T> Serialize for AltNeu<T> where
    T: Serialize
[src]

impl<'de, T> Deserialize<'de> for AltNeu<T> where
    T: Deserialize<'de>, 
[src]

impl<T: Lattice> Lattice for AltNeu<T>[src]

fn join_assign(&mut self, other: &Self)[src]

Updates self to the smallest element greater than or equal to both arguments. Read more

fn meet_assign(&mut self, other: &Self)[src]

Updates self to the largest element less than or equal to both arguments. Read more

fn advance_by(&mut self, frontier: &[Self])[src]

Advances self to the largest time indistinguishable under frontier. Read more

Auto Trait Implementations

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

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

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Data for T where
    T: 'static + Send + Sync + Any + Deserialize<'a> + Serialize

impl<T> Refines for T where
    T: Timestamp
[src]

impl<T> Data for T where
    T: 'static + Clone
[src]

impl<T> ExchangeData for T where
    T: Data + Data, 
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Data 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.