pub fn contains(&self, size: impl Into<Size>) -> bool {
        let size = size.into();
        (self.min.width <= size.width && size.width <= self.max.width)
            && (self.min.height <= size.height && size.height <= self.max.height)
    }
/// Test whether these constraints contain the given `Size`.
Test whether these constraints contain the given `Size`.
Test whether these constraints contain the given ` Size ` .
pub fn contains(&self, size: impl Into<Size>) -> bool {
        let size = size.into();
        (self.min.width <= size.width && size.width <= self.max.width)
            && (self.min.height <= size.height && size.height <= self.max.height)
    }
pub fn contains ( & self , size : impl Into < Size > ) -> bool { let size = size . into ( ) ; ( self . min . width <= size . width && size . width <= self . max . width ) && ( self . min . height <= size . height && size . height <= self . max . height ) }
Test whether these constraints contain the given `Size`.
Test whether these constraints contain the given ` Size ` .
&self
size
impl Into<Size>
&self
size
impl Into<Size>