pub trait WidthUtilities {
// Required methods
fn width(self, value: SizingValue) -> Self;
fn min_width(self, value: SizingValue) -> Self;
fn max_width(self, value: SizingValue) -> Self;
}
Expand description
Trait for adding width utilities to a class builder
Required Methods§
Sourcefn width(self, value: SizingValue) -> Self
fn width(self, value: SizingValue) -> Self
Set width
Sourcefn min_width(self, value: SizingValue) -> Self
fn min_width(self, value: SizingValue) -> Self
Set min-width
Sourcefn max_width(self, value: SizingValue) -> Self
fn max_width(self, value: SizingValue) -> Self
Set max-width
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.