Skip to main content

IComparer_1Methods

Trait IComparer_1Methods 

Source
pub trait IComparer_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn get_default() -> Comparer_1<T0> { ... }
    fn create_comparer() -> Comparer_1<T0> { ... }
    fn compare(self, x: T0, y: T0) -> i32
       where Self: Sized + Into<IlInstance> { ... }
    fn system_collections_i_comparer_compare(self, x: Object, y: Object) -> i32
       where Self: Sized { ... }
    fn ctor(self)
       where Self: Sized { ... }
}

Provided Methods§

Source

fn get_default() -> Comparer_1<T0>

Source

fn create_comparer() -> Comparer_1<T0>

Source

fn compare(self, x: T0, y: T0) -> i32
where Self: Sized + Into<IlInstance>,

Source

fn system_collections_i_comparer_compare(self, x: Object, y: Object) -> i32
where Self: Sized,

Source

fn ctor(self)
where Self: Sized,

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§