pub trait Selectable: Sized {
// Required method
fn is_selected(self, selected: bool) -> Self;
}Expand description
A component with v3’s controlled isSelected prop.
Required Methods§
Sourcefn is_selected(self, selected: bool) -> Self
fn is_selected(self, selected: bool) -> Self
isSelected — the controlled selection state.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".