pub trait ToggleButtonProps: ElementBuilder {
// Provided methods
fn is_checked<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self { ... }
fn is_three_state<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
fn on_is_checked_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self { ... }
}Expand description
The properties and routed events of ToggleButton.
Provided Methods§
Sourcefn is_checked<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self
fn is_checked<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self
Sourcefn is_three_state<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_three_state<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn on_is_checked_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self
fn on_is_checked_changed( self, handler: impl Fn(&RoutedEventArgs) + 'static, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".