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§
Sourcefn filter_value(&self) -> &str
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.