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>
[src]
Creates a new Cell
fn get_position(&self) -> (u32, u32)
[src]
Gets Cell
position
fn get_value(&self) -> &T
[src]
Gets Cell
value