Skip to main content

IComparerMethods

Trait IComparerMethods 

Source
pub trait IComparerMethods: IComparer {
    // Provided methods
    fn ctor(self) { ... }
    fn compare(self, a: impl Into<Object>, b: impl Into<Object>) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn compare(self, a: impl Into<Object>, b: impl Into<Object>) -> i32

Compare(crate::system::object::Object, crate::system::object::Object) overload

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<__T: IComparer> IComparerMethods for __T

Available on crate feature system-collections-comparer only.