Skip to main content

IIEqualityComparer_1_InterfaceMethods

Trait IIEqualityComparer_1_InterfaceMethods 

Source
pub trait IIEqualityComparer_1_InterfaceMethods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn equals(self, x: T0, y: T0) -> bool
       where Self: Sized + Into<IlInstance> { ... }
    fn get_hash_code(self, obj: T0) -> i32
       where Self: Sized + Into<IlInstance> { ... }
}

Provided Methods§

Source

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

Source

fn get_hash_code(self, obj: T0) -> i32
where Self: Sized + Into<IlInstance>,

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§