pub struct Description<Time> { /* private fields */ }Expand description
Describes an interval of partially ordered times.
A Description indicates a set of partially ordered times, and a moment at which they are
observed. The lower and upper frontiers bound the times contained within, and the since
frontier indicates a moment at which the times were observed. If since is strictly in
advance of lower, the contained times may be “advanced” to times which appear equivalent to
any time after since.
Implementations§
Source§impl<Time: PartialOrder + Clone> Description<Time>
impl<Time: PartialOrder + Clone> Description<Time>
Source§impl<Time> Description<Time>
impl<Time> Description<Time>
Trait Implementations§
Source§impl<Time: Clone> Clone for Description<Time>
impl<Time: Clone> Clone for Description<Time>
Source§fn clone(&self) -> Description<Time>
fn clone(&self) -> Description<Time>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Time: Debug> Debug for Description<Time>
impl<Time: Debug> Debug for Description<Time>
Source§impl<'de, Time> Deserialize<'de> for Description<Time>where
Time: Deserialize<'de>,
impl<'de, Time> Deserialize<'de> for Description<Time>where
Time: 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<Time: PartialEq> PartialEq for Description<Time>
impl<Time: PartialEq> PartialEq for Description<Time>
Source§impl<Time> Serialize for Description<Time>where
Time: Serialize,
impl<Time> Serialize for Description<Time>where
Time: Serialize,
impl<Time: Eq> Eq for Description<Time>
Auto Trait Implementations§
impl<Time> Freeze for Description<Time>where
Time: Freeze,
impl<Time> RefUnwindSafe for Description<Time>where
Time: RefUnwindSafe,
impl<Time> Send for Description<Time>where
Time: Send,
impl<Time> Sync for Description<Time>where
Time: Sync,
impl<Time> Unpin for Description<Time>where
Time: Unpin,
impl<Time> UnwindSafe for Description<Time>where
Time: RefUnwindSafe + 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.