pub trait IObjectEqualityComparer_1Methods<T0: ClassIdentity>: ClassIdentity {
// Provided methods
fn equals(self, x: T0, y: T0) -> bool
where Self: Sized { ... }
fn get_hash_code(self, obj: T0) -> i32
where Self: Sized { ... }
fn index_of(
self,
array: Array<T0>,
value: T0,
start_index: i32,
count: i32,
) -> i32
where Self: Sized { ... }
fn last_index_of(
self,
array: Array<T0>,
value: T0,
start_index: i32,
count: i32,
) -> i32
where Self: Sized { ... }
fn equals_2(self, obj: Object) -> bool
where Self: Sized { ... }
fn get_hash_code_2(self) -> i32
where Self: Sized { ... }
fn ctor(self)
where Self: Sized { ... }
}Provided Methods§
fn equals(self, x: T0, y: T0) -> boolwhere
Self: Sized,
fn get_hash_code(self, obj: T0) -> i32where
Self: Sized,
fn index_of(
self,
array: Array<T0>,
value: T0,
start_index: i32,
count: i32,
) -> i32where
Self: Sized,
fn last_index_of(
self,
array: Array<T0>,
value: T0,
start_index: i32,
count: i32,
) -> i32where
Self: Sized,
fn equals_2(self, obj: Object) -> boolwhere
Self: Sized,
fn get_hash_code_2(self) -> i32where
Self: Sized,
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.