cushy::widgets::list

Trait 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§

source

fn list_indicator(&self, index: usize) -> Option<Indicator>

Returns the indicator to use at index.

Implementors§