pub trait ButtonModifiers {
// Required method
fn variant<U>(self, variant: impl Res<U> + 'static) -> Self
where U: Into<ButtonVariant> + Clone + 'static;
}Expand description
Modifiers for changing the appearance of buttons.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".