[−][src]Trait cursive::view::Boxable
Makes a view wrappable in a BoxView.
Provided methods
fn boxed(self, width: SizeConstraint, height: SizeConstraint) -> BoxView<Self>
Wraps self in a BoxView with the given size constraints.
fn fixed_size<S: Into<Vec2>>(self, size: S) -> BoxView<Self>
Wraps self into a fixed-size BoxView.
fn fixed_width(self, width: usize) -> BoxView<Self>
Wraps self into a fixed-width BoxView.
fn fixed_height(self, height: usize) -> BoxView<Self>
Wraps self into a fixed-width BoxView.
fn full_screen(self) -> BoxView<Self>
Wraps self into a full-screen BoxView.
fn full_width(self) -> BoxView<Self>
Wraps self into a full-width BoxView.
fn full_height(self) -> BoxView<Self>
Wraps self into a full-height BoxView.
fn max_size<S: Into<Vec2>>(self, size: S) -> BoxView<Self>
Wraps self into a limited-size BoxView.
fn max_width(self, max_width: usize) -> BoxView<Self>
Wraps self into a limited-width BoxView.
fn max_height(self, max_height: usize) -> BoxView<Self>
Wraps self into a limited-height BoxView.
fn min_size<S: Into<Vec2>>(self, size: S) -> BoxView<Self>
Wraps self into a BoxView at least sized size.
fn min_width(self, min_width: usize) -> BoxView<Self>
Wraps self in a BoxView at least min_width wide.
fn min_height(self, min_height: usize) -> BoxView<Self>
Wraps self in a BoxView at least min_height tall.