Trait patternfly_yew::TableModel[][src]

pub trait TableModel: Debug + Default + PartialEq + Clone {
    type Item: TableRenderer;
    fn len(&self) -> usize;
fn is_expanded(&self, index: usize) -> bool;
fn set_expanded(&mut self, index: usize, state: bool) -> ShouldRender;
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 { ... } }

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

Implementations on Foreign Types

Implementors