Enum btree_range_map::Directed
source · pub enum Directed<T> {
Start(T),
End(T),
}Variants§
Implementations§
Trait Implementations§
source§impl<B: AsBound> BoundOrd<<B as AsBound>::Item> for Directed<B>where
B::Item: Ord + Measure + PartialEnum,
impl<B: AsBound> BoundOrd<<B as AsBound>::Item> for Directed<B>where B::Item: Ord + Measure + PartialEnum,
source§impl<B: AsBound, U> BoundPartialOrd<U> for Directed<B>where
B::Item: PartialOrd<U> + Measure<U> + PartialEnum,
U: PartialEnum,
impl<B: AsBound, U> BoundPartialOrd<U> for Directed<B>where B::Item: PartialOrd<U> + Measure<U> + PartialEnum, U: PartialEnum,
fn bound_partial_cmp<C: AsBound<Item = U>>( &self, other: &Directed<C> ) -> Option<BoundOrdering>
source§impl<T> Ord for Directed<Bound<&T>>where
T: Measure + Ord + PartialEnum,
impl<T> Ord for Directed<Bound<&T>>where T: Measure + Ord + PartialEnum,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T, U> PartialEq<Directed<Bound<&U>>> for Directed<Bound<&T>>where
T: Measure<U> + PartialOrd<U> + PartialEnum,
U: PartialEnum,
impl<T, U> PartialEq<Directed<Bound<&U>>> for Directed<Bound<&T>>where T: Measure<U> + PartialOrd<U> + PartialEnum, U: PartialEnum,
source§impl<T, U> PartialOrd<Directed<Bound<&U>>> for Directed<Bound<&T>>where
T: Measure<U> + PartialOrd<U> + PartialEnum,
U: PartialEnum,
impl<T, U> PartialOrd<Directed<Bound<&U>>> for Directed<Bound<&T>>where T: Measure<U> + PartialOrd<U> + PartialEnum, U: PartialEnum,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<T: Copy> Copy for Directed<T>
impl<T> Eq for Directed<Bound<&T>>where T: Measure + Ord + PartialEnum,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Directed<T>where T: RefUnwindSafe,
impl<T> Send for Directed<T>where T: Send,
impl<T> Sync for Directed<T>where T: Sync,
impl<T> Unpin for Directed<T>where T: Unpin,
impl<T> UnwindSafe for Directed<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