Struct prototty_common::Decorated
[−]
[src]
pub struct Decorated<'a, 'b, V: 'a, D: 'b> { pub view: &'a V, pub decorator: &'b D, }
Represents a particular view V
, decorated by a decorator D
.
Fields
view: &'a V
decorator: &'b D
Methods
impl<'a, 'b, V, D> Decorated<'a, 'b, V, D>
[src]
Trait Implementations
impl<'a, 'b, T, V: View<T> + ViewSize<T>> View<T> for Decorated<'a, 'b, V, Border>
[src]
fn view<G: ViewGrid>(&self, value: &T, offset: Coord, depth: i32, grid: &mut G)
[src]
Update the cells in grid
to describe how a type should be rendered.