pub fn covers(&self, other: &Interval<T>) -> bool {
    let lower_pass = self.includes(other.as_lower_limit())
      || self.as_lower_limit() == other.as_lower_limit() && !other.includes_lower_limit();
    let upper_pass = self.includes(other.as_upper_limit())
      || self.as_upper_limit() == other.as_upper_limit() && !other.includes_upper_limit();
    lower_pass && upper_pass
  }
/// Verify that this interval completely encloses the specified interval `other`.
///
/// - params
///     - other: an `Interval`
/// - return: `true` for full comprehension, `false` otherwise
Verify that this interval completely encloses the specified interval `other`.
Verify that this interval completely encloses the specified interval ` other ` .
pub fn covers(&self, other: &Interval<T>) -> bool {
    let lower_pass = self.includes(other.as_lower_limit())
      || self.as_lower_limit() == other.as_lower_limit() && !other.includes_lower_limit();
    let upper_pass = self.includes(other.as_upper_limit())
      || self.as_upper_limit() == other.as_upper_limit() && !other.includes_upper_limit();
    lower_pass && upper_pass
  }
pub fn covers ( & self , other : & Interval < T > ) -> bool { let lower_pass = self . includes ( other . as_lower_limit ( ) ) || self . as_lower_limit ( ) == other . as_lower_limit ( ) && ! other . includes_lower_limit ( ) ; let upper_pass = self . includes ( other . as_upper_limit ( ) ) || self . as_upper_limit ( ) == other . as_upper_limit ( ) && ! other . includes_upper_limit ( ) ; lower_pass && upper_pass }
Verify that this interval completely encloses the specified interval `other`.
Verify that this interval completely encloses the specified interval ` other ` .
&self
other
&Interval<T>