pub trait Compare<T> {
// Required method
fn compare(&self, t: T) -> CompareResult;
}
Expand description
Abstracts comparison operations
Required Methods§
Sourcefn compare(&self, t: T) -> CompareResult
fn compare(&self, t: T) -> CompareResult
Compares self to another value for equality