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