Struct calamine::Cell
[−]
[src]
pub struct Cell<T: CellType> { /* fields omitted */ }
A struct to hold cell position and value
Methods
impl<T: CellType> Cell<T>
[src]
fn new(position: (u32, u32), value: T) -> Cell<T>
Creates a new Cell
fn get_position(&self) -> (u32, u32)
Gets Cell
position
fn get_value(&self) -> &T
Gets Cell
value
Trait Implementations
impl<T: Debug + CellType> Debug for Cell<T>
[src]
impl<T: Clone + CellType> Clone for Cell<T>
[src]
fn clone(&self) -> Cell<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more