pub trait HeightUtilities {
// Required methods
fn height(self, value: SizingValue) -> Self;
fn min_height(self, value: SizingValue) -> Self;
fn max_height(self, value: SizingValue) -> Self;
}
Expand description
Trait for adding height utilities to a class builder
Required Methods§
Sourcefn height(self, value: SizingValue) -> Self
fn height(self, value: SizingValue) -> Self
Set height
Sourcefn min_height(self, value: SizingValue) -> Self
fn min_height(self, value: SizingValue) -> Self
Set min-height
Sourcefn max_height(self, value: SizingValue) -> Self
fn max_height(self, value: SizingValue) -> Self
Set max-height
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.