HeightUtilities

Trait HeightUtilities 

Source
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§

Source

fn height(self, value: SizingValue) -> Self

Set height

Source

fn min_height(self, value: SizingValue) -> Self

Set min-height

Source

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.

Implementors§