pub trait Cell {
// Required methods
fn has_contents(&self) -> bool;
fn apply(&self, cell: &mut Cell);
}Expand description
A trait for representing a single cell on a screen.
Required Methods§
Sourcefn has_contents(&self) -> bool
fn has_contents(&self) -> bool
Whether the cell has any contents that could be rendered to the screen.