pub enum IntervalOrdering {
Before,
After,
EqualExact,
Indeterminate,
}Expand description
The result of comparing two values whose precisions differ (Rule T).
Variants§
Before
Strictly earlier: self.hi < other.lo.
After
Strictly later: self.lo > other.hi.
EqualExact
The same single tick.
Indeterminate
The intervals overlap, so the order is not determined. UCAL-E0023.
Trait Implementations§
Source§impl Clone for IntervalOrdering
impl Clone for IntervalOrdering
Source§fn clone(&self) -> IntervalOrdering
fn clone(&self) -> IntervalOrdering
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntervalOrdering
Source§impl Debug for IntervalOrdering
impl Debug for IntervalOrdering
impl Eq for IntervalOrdering
Source§impl PartialEq for IntervalOrdering
impl PartialEq for IntervalOrdering
impl StructuralPartialEq for IntervalOrdering
Auto Trait Implementations§
impl Freeze for IntervalOrdering
impl RefUnwindSafe for IntervalOrdering
impl Send for IntervalOrdering
impl Sync for IntervalOrdering
impl Unpin for IntervalOrdering
impl UnsafeUnpin for IntervalOrdering
impl UnwindSafe for IntervalOrdering
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