TreeLabelRenderer

Trait TreeLabelRenderer 

Source
pub trait TreeLabelRenderer<T: TreeModel> {
    // Required method
    fn cell<'a>(
        &'a self,
        model: &'a T,
        id: T::Id,
        ctx: &TreeRowContext<'_>,
        glyphs: &TreeGlyphs<'a>,
    ) -> Cell<'a>;
}

Required Methods§

Source

fn cell<'a>( &'a self, model: &'a T, id: T::Id, ctx: &TreeRowContext<'_>, glyphs: &TreeGlyphs<'a>, ) -> Cell<'a>

Implementors§

Source§

impl<T, P> TreeLabelRenderer<T> for P
where T: TreeModel, P: TreeLabelProvider<T>,