pub trait TableModel: Debug + Default + PartialEq + Clone {
    type Item: TableRenderer;
    fn len(&self) -> usize;
fn is_expanded(&self, index: usize) -> bool;
fn set_expanded(&self, index: usize, state: bool) -> bool;
fn map<F, R>(&self, f: F) -> Vec<R>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator

    where
        F: Fn(&TableModelEntry<Self::Item>) -> R
; fn is_empty(&self) -> bool { ... } }
Expand description

A model providing data for a table.

Associated Types

Required methods

Get the number of items

Test if the entry is expanded

Set the expanded state of the entry

Provided methods

Test if the table model is empty

Implementors