pub trait ICompatibleComparer_2Methods: ICompatibleComparer_2 {
// Provided methods
fn ctor(
self,
comparer: impl Into<IComparer_Interface>,
hash_code_provider: impl Into<IHashCodeProvider>,
) { ... }
fn equals(self, a: impl Into<Object>, b: impl Into<Object>) -> bool { ... }
fn get_hash_code(self, obj: impl Into<Object>) -> i32 { ... }
fn get_comparer(self) -> IComparer_Interface { ... }
fn get_hash_code_provider(self) -> IHashCodeProvider { ... }
}Provided Methods§
Sourcefn ctor(
self,
comparer: impl Into<IComparer_Interface>,
hash_code_provider: impl Into<IHashCodeProvider>,
)
fn ctor( self, comparer: impl Into<IComparer_Interface>, hash_code_provider: impl Into<IHashCodeProvider>, )
.ctor(crate::system::collections::icomparer_interface::IComparer_Interface, crate::system::collections::ihashcodeprovider::IHashCodeProvider) overload
Sourcefn equals(self, a: impl Into<Object>, b: impl Into<Object>) -> bool
fn equals(self, a: impl Into<Object>, b: impl Into<Object>) -> bool
Equals(crate::system::object::Object, crate::system::object::Object) overload
Sourcefn get_hash_code(self, obj: impl Into<Object>) -> i32
fn get_hash_code(self, obj: impl Into<Object>) -> i32
GetHashCode(crate::system::object::Object) overload
Sourcefn get_comparer(self) -> IComparer_Interface
fn get_comparer(self) -> IComparer_Interface
get_Comparer() overload
Sourcefn get_hash_code_provider(self) -> IHashCodeProvider
fn get_hash_code_provider(self) -> IHashCodeProvider
get_HashCodeProvider() 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§
impl<__T: ICompatibleComparer_2> ICompatibleComparer_2Methods for __T
Available on crate feature
system-collections-specialized-compatiblecomparer_2 only.