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