pub fn contains_range(&self, other: &Range<T>) -> bool {
        if other.is_empty() {
            return true;
        }

        if self.is_empty() {
            return false;
        }

        OptBound(self.lower()) <= OptBound(other.lower()) && OptBound(self.upper()) >= OptBound(other.upper())
    }
/// Determines if a range lies completely within this range.
Determines if a range lies completely within this range.
Determines if a range lies completely within this range .
pub fn contains_range(&self, other: &Range<T>) -> bool {
        if other.is_empty() {
            return true;
        }
        if self.is_empty() {
            return false;
        }
        OptBound(self.lower()) <= OptBound(other.lower()) && OptBound(self.upper()) >= OptBound(other.upper())
    }
pub fn contains_range ( & self , other : & Range < T > ) -> bool { if other . is_empty ( ) { return true ; } if self . is_empty ( ) { return false ; } OptBound ( self . lower ( ) ) <= OptBound ( other . lower ( ) ) && OptBound ( self . upper ( ) ) >= OptBound ( other . upper ( ) ) }
Determines if a range lies completely within this range.
Determines if a range lies completely within this range .
&self
other
&Range<T>
&self
other
&Range<T>