Skip to main content

Item

Trait Item 

Source
pub trait Item:
    Clone
    + Send
    + 'static {
    // Required method
    fn filter_value(&self) -> &str;
}
Expand description

Trait for items that can be displayed in a list.

Required Methods§

Source

fn filter_value(&self) -> &str

Returns the value used for filtering.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§