Enum timely_util::antichain_ext::Max1Antichain [−][src]
pub enum Max1Antichain<T> {
Singular(T),
Empty,
}
Expand description
An Antichain
that stores at most one element.
Variants
Singular(T)
An antichain with a single element.
Empty
An antichain with no elements.
Implementations
Returns true if any item in the antichain is strictly less than the argument.
Returns true if any item in the antichain is less than or equal to the argument.
Reveals the elements in the antichain.
Converts the antichain to an option.
Use with caution. The comparison semantics on the returned option do
not match the this type’s PartialOrder
implementation.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for Max1Antichain<T> where
T: RefUnwindSafe,
impl<T> Send for Max1Antichain<T> where
T: Send,
impl<T> Sync for Max1Antichain<T> where
T: Sync,
impl<T> Unpin for Max1Antichain<T> where
T: Unpin,
impl<T> UnwindSafe for Max1Antichain<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more