pub trait Resizable: View {
Show 13 methods fn resized(
        self,
        width: SizeConstraint,
        height: SizeConstraint
    ) -> ResizedView<Self> { ... } fn fixed_size<S>(self, size: S) -> ResizedView<Self>
   where
        S: Into<XY<usize>>
, { ... } fn fixed_width(self, width: usize) -> ResizedView<Self> { ... } fn fixed_height(self, height: usize) -> ResizedView<Self> { ... } fn full_screen(self) -> ResizedView<Self> { ... } fn full_width(self) -> ResizedView<Self> { ... } fn full_height(self) -> ResizedView<Self> { ... } fn max_size<S>(self, size: S) -> ResizedView<Self>
   where
        S: Into<XY<usize>>
, { ... } fn max_width(self, max_width: usize) -> ResizedView<Self> { ... } fn max_height(self, max_height: usize) -> ResizedView<Self> { ... } fn min_size<S>(self, size: S) -> ResizedView<Self>
   where
        S: Into<XY<usize>>
, { ... } fn min_width(self, min_width: usize) -> ResizedView<Self> { ... } fn min_height(self, min_height: usize) -> ResizedView<Self> { ... }
}
Expand description

Makes a view wrappable in a ResizedView.

Provided Methods

Wraps self in a ResizedView with the given size constraints.

Wraps self into a fixed-size ResizedView.

Wraps self into a fixed-width ResizedView.

Wraps self into a fixed-width ResizedView.

Wraps self into a full-screen ResizedView.

Wraps self into a full-width ResizedView.

Wraps self into a full-height ResizedView.

Wraps self into a limited-size ResizedView.

Wraps self into a limited-width ResizedView.

Wraps self into a limited-height ResizedView.

Wraps self into a ResizedView at least sized size.

Wraps self in a ResizedView at least min_width wide.

Wraps self in a ResizedView at least min_height tall.

Implementors