pub trait ControlModifiers: Sized {
// Required method
fn control_size<U>(self, size: impl Res<U> + 'static) -> Self
where U: Into<ControlSize> + Clone + 'static;
}Expand description
Modifiers for common control-level behavior that can be shared across views.
Required Methods§
Sourcefn control_size<U>(self, size: impl Res<U> + 'static) -> Self
fn control_size<U>(self, size: impl Res<U> + 'static) -> Self
Applies semantic sizing classes to a control.
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.