pub fn new(
        width: SizeConstraint, height: SizeConstraint, view: T
    ) -> Self {
        BoxView {
            size: (width, height).into(),
            squishable: false,
            view: view,
        }
    }
/// Creates a new `BoxView` with the given width and height requirements.
///
/// `None` values will use the wrapped view's preferences.
Creates a new `BoxView` with the given width and height requirements.
`None` values will use the wrapped view's preferences.
Creates a new ` BoxView ` with the given width and height requirements . ` None ` values will use the wrapped view ' s preferences .
pub fn new(
        width: SizeConstraint, height: SizeConstraint, view: T
    ) -> Self {
        BoxView {
            size: (width, height).into(),
            squishable: false,
            view: view,
        }
    }
pub fn new ( width : SizeConstraint , height : SizeConstraint , view : T ) -> Self { BoxView { size : ( width , height ) . into ( ) , squishable : false , view : view , } }
Creates a new `BoxView` with the given width and height requirements.
Creates a new ` BoxView ` with the given width and height requirements .
width
SizeConstraint
height
SizeConstraint
view
T
width
SizeConstraint
height
SizeConstraint
view
T