pub fn new(min: Size, max: Size) -> BoxConstraints {
        BoxConstraints {
            min: min.expand(),
            max: max.expand(),
        }
    }
/// Create a new box constraints object.
///
/// Create constraints based on minimum and maximum size.
///
/// The given sizes are also [rounded away from zero],
/// so that the layout is aligned to integers.
///
/// [rounded away from zero]: struct.Size.html#method.expand
Create a new box constraints object.
Create constraints based on minimum and maximum size.

The given sizes are also [rounded away from zero],
so that the layout is aligned to integers.


Create a new box constraints object . Create constraints based on minimum and maximum size . The given sizes are also [ rounded away from zero ] so that the layout is aligned to integers .
pub fn new(min: Size, max: Size) -> BoxConstraints {
        BoxConstraints {
            min: min.expand(),
            max: max.expand(),
        }
    }
pub fn new ( min : Size , max : Size ) -> BoxConstraints { BoxConstraints { min : min . expand ( ) , max : max . expand ( ) , } }
Create a new box constraints object.
Create a new box constraints object .
min
Size
max
Size
min
Size
max
Size