Trait sway_core::engine_threading::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

Object Safety§

This trait is not object safe.

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§