Trait patternfly_yew::components::table::TableModel
source · pub trait TableModel<C>{
type Iterator<'i>: Iterator<Item = TableModelEntry<'i, Self::Item, Self::Key, C>>
where Self: 'i;
type Item: TableEntryRenderer<C> + Clone + 'static;
type Key: Into<Key> + Clone + Debug + Eq + 'static;
// Required methods
fn len(&self) -> usize;
fn iter(&self) -> Self::Iterator<'_>;
// Provided method
fn is_empty(&self) -> bool { ... }
}
Expand description
A model providing data for a table.
Required Associated Types§
type Iterator<'i>: Iterator<Item = TableModelEntry<'i, Self::Item, Self::Key, C>> where Self: 'i
type Item: TableEntryRenderer<C> + Clone + 'static
type Key: Into<Key> + Clone + Debug + Eq + 'static
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.