pub fn in_bounds(&self, value: &T) -> bool {
        match (self.type_, <S as BoundSided>::side()) {
            (Inclusive, Upper) => value <= &self.value,
            (Exclusive, Upper) => value < &self.value,
            (Inclusive, Lower) => value >= &self.value,
            (Exclusive, Lower) => value > &self.value,
        }
    }
/// Determines if a value lies within the range specified by this bound.
Determines if a value lies within the range specified by this bound.
Determines if a value lies within the range specified by this bound .
pub fn in_bounds(&self, value: &T) -> bool {
        match (self.type_, <S as BoundSided>::side()) {
            (Inclusive, Upper) => value <= &self.value,
            (Exclusive, Upper) => value < &self.value,
            (Inclusive, Lower) => value >= &self.value,
            (Exclusive, Lower) => value > &self.value,
        }
    }
pub fn in_bounds ( & self , value : & T ) -> bool { match ( self . type_ , < S as BoundSided > :: side ( ) ) { ( Inclusive , Upper ) => value <= & self . value , ( Exclusive , Upper ) => value < & self . value , ( Inclusive , Lower ) => value >= & self . value , ( Exclusive , Lower ) => value > & self . value , } }
Determines if a value lies within the range specified by this bound.
Determines if a value lies within the range specified by this bound .
&self
value
&T
&self
value
&T