Skip to main content

PickerItem

Trait PickerItem 

Source
pub trait PickerItem: Clone {
    // Required methods
    fn fuzzy_key(&self) -> &str;
    fn render(&self, is_cursor: bool) -> Line<'static>;
}

Required Methods§

Source

fn fuzzy_key(&self) -> &str

Source

fn render(&self, is_cursor: bool) -> Line<'static>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§