Trait BoundOrd

Source
pub trait BoundOrd<T = Self> {
    // Required method
    fn bound_cmp<B: AsBound<Item = T>>(
        &self,
        other: &Directed<B>,
    ) -> BoundOrdering;
}

Required Methods§

Source

fn bound_cmp<B: AsBound<Item = T>>(&self, other: &Directed<B>) -> BoundOrdering

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<B: AsBound> BoundOrd<<B as AsBound>::Item> for Directed<B>
where B::Item: Ord + Measure + PartialEnum,