Skip to main content

OrdWithEngines

Trait OrdWithEngines 

Source
pub trait OrdWithEngines {
    // Required method
    fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering;
}

Required Methods§

Source

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

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<T: OrdWithEngines + ?Sized> OrdWithEngines for &T

Source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

Source§

impl<T: OrdWithEngines> OrdWithEngines for Option<T>

Source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

Source§

impl<T: OrdWithEngines> OrdWithEngines for [T]

Source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

Source§

impl<T: OrdWithEngines> OrdWithEngines for Box<T>

Source§

fn cmp(&self, other: &Self, ctx: &OrdWithEnginesContext<'_>) -> Ordering

Implementors§