Trait cushy::widgets::list::ListIndicator
source · pub trait ListIndicator:
Debug
+ Sync
+ Send
+ 'static {
// Required method
fn list_indicator(&self, index: usize) -> Option<Indicator>;
}
Expand description
A ListStyle
implementation that provides an optional indicator for a
given list index.
Required Methods§
sourcefn list_indicator(&self, index: usize) -> Option<Indicator>
fn list_indicator(&self, index: usize) -> Option<Indicator>
Returns the indicator to use at index
.