WidthUtilities

Trait WidthUtilities 

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

Source

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

Set width

Source

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

Set min-width

Source

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.

Implementors§