pub trait Selectable {
// Required method
fn selected(self, selected: bool) -> Self;
}Expand description
A control that can present itself as the current choice.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Selectable for Button
impl Selectable for GraphNode
impl Selectable for IconButton
impl Selectable for ListRow
impl Selectable for Radio
impl Selectable for Tag
A tag the keyboard has singled out, which is not the same as a tag that is gone: the selection is what the next keystroke would act on.