Struct prototty_grid::Grid
[−]
[src]
pub struct Grid<C: Default + Clone> { /* fields omitted */ }
Methods
impl<C: Default + Clone> Grid<C>
[src]
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<C>
[src]
fn iter(&self) -> Iter<C>
[src]
fn iter_mut(&mut self) -> IterMut<C>
[src]
Trait Implementations
impl<C: Debug + Default + Clone> Debug for Grid<C>
[src]
impl<C: Clone + Default + Clone> Clone for Grid<C>
[src]
fn clone(&self) -> Grid<C>
[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