Trait Item

Source
pub trait Item: Display + Clone {
    // Required method
    fn filter_value(&self) -> String;
}
Expand description

An item that can be displayed in the list.

Required Methods§

Source

fn filter_value(&self) -> String

The value to use when filtering this item.

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§