Skip to main content

EnsureSortable

Trait EnsureSortable 

Source
pub trait EnsureSortable: PartialOrd + Sized {
    // Required method
    fn find_incomparable<'a>(
        values: impl Iterator<Item = &'a Self>,
    ) -> Option<(usize, usize)>
       where Self: 'a;
}

Required Methods§

Source

fn find_incomparable<'a>( values: impl Iterator<Item = &'a Self>, ) -> Option<(usize, usize)>
where Self: 'a,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl EnsureSortable for EdgeIndex

Source§

fn find_incomparable<'a>( _values: impl Iterator<Item = &'a Self>, ) -> Option<(usize, usize)>

Source§

impl EnsureSortable for GraphRecordAttribute

Source§

fn find_incomparable<'a>( values: impl Iterator<Item = &'a Self>, ) -> Option<(usize, usize)>

Source§

impl EnsureSortable for GraphRecordValue

Source§

fn find_incomparable<'a>( values: impl Iterator<Item = &'a Self>, ) -> Option<(usize, usize)>

Source§

impl EnsureSortable for bool

Source§

fn find_incomparable<'a>( _values: impl Iterator<Item = &'a Self>, ) -> Option<(usize, usize)>

Source§

impl<T: EnsureSortable> EnsureSortable for &T

Source§

fn find_incomparable<'a>( values: impl Iterator<Item = &'a Self>, ) -> Option<(usize, usize)>
where Self: 'a,

Implementors§