1/// Methods for checking for a "equals" relation between intervals. 2pub trait Equals<T>: Sized { 3 /// Returns `true` iff `self` equals `other.0. 4 /// 5 /// ```plain 6 /// self: ┌────────┐ 7 /// other: └────────┘ 8 /// ``` 9 #[inline] 10 fn equals(&self, _other: &T) -> bool { 11 false 12 } 13}