Struct prototty_grid::Grid
[−]
[src]
pub struct Grid<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground, { /* fields omitted */ }
Methods
impl<F, B> Grid<F, B> where
F: From<Rgb24> + DefaultForeground + Clone,
B: From<Rgb24> + DefaultBackground + Clone,
[src]
F: From<Rgb24> + DefaultForeground + Clone,
B: From<Rgb24> + DefaultBackground + Clone,
fn new(size: Size) -> Self
[src]
fn size(&self) -> Size
[src]
fn resize(&mut self, size: Size)
[src]
fn clear(&mut self)
[src]
fn enumerate(&self) -> CoordEnumerate<CommonCell<F, B>>
[src]
fn iter(&self) -> Iter<CommonCell<F, B>>
[src]
fn iter_mut(&mut self) -> IterMut<CommonCell<F, B>>
[src]
Trait Implementations
impl<F: Debug, B: Debug> Debug for Grid<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
impl<F: Clone, B: Clone> Clone for Grid<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
fn clone(&self) -> Grid<F, B>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F, B> ViewGrid for Grid<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,