pub struct AltNeu<T> {
pub time: T,
pub neu: bool,
}Expand description
A pair of timestamps, partially ordered by the product order.
Fields§
§time: TInner timestamp.
neu: boolalt < neu in timestamp comparisons.
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for AltNeu<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for AltNeu<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: Lattice> Lattice for AltNeu<T>
impl<T: Lattice> Lattice for AltNeu<T>
Source§fn join(&self, other: &Self) -> Self
fn join(&self, other: &Self) -> Self
The smallest element greater than or equal to both arguments. Read more
Source§fn meet(&self, other: &Self) -> Self
fn meet(&self, other: &Self) -> Self
The largest element less than or equal to both arguments. Read more
Source§fn join_assign(&mut self, other: &Self)where
Self: Sized,
fn join_assign(&mut self, other: &Self)where
Self: Sized,
Updates
self to the smallest element greater than or equal to both arguments. Read moreSource§fn meet_assign(&mut self, other: &Self)where
Self: Sized,
fn meet_assign(&mut self, other: &Self)where
Self: Sized,
Updates
self to the largest element less than or equal to both arguments. Read moreSource§fn advance_by(&mut self, frontier: &[Self])where
Self: Sized,
fn advance_by(&mut self, frontier: &[Self])where
Self: Sized,
Advances self to the largest time indistinguishable under
frontier. Read moreSource§impl<T: Ord> Ord for AltNeu<T>
impl<T: Ord> Ord for AltNeu<T>
Source§impl<T: PartialOrd> PartialOrd for AltNeu<T>
impl<T: PartialOrd> PartialOrd for AltNeu<T>
Source§impl<T: PartialOrder> PartialOrder for AltNeu<T>
impl<T: PartialOrder> PartialOrder for AltNeu<T>
impl<T: Eq> Eq for AltNeu<T>
impl<T> StructuralPartialEq for AltNeu<T>
Auto Trait Implementations§
impl<T> Freeze for AltNeu<T>where
T: Freeze,
impl<T> RefUnwindSafe for AltNeu<T>where
T: RefUnwindSafe,
impl<T> Send for AltNeu<T>where
T: Send,
impl<T> Sync for AltNeu<T>where
T: Sync,
impl<T> Unpin for AltNeu<T>where
T: Unpin,
impl<T> UnwindSafe for AltNeu<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more