Struct nonogrid::Board [−][src]
pub struct Board<B> where
B: Block, { /* fields omitted */ }
Implementations
pub fn with_descriptions_and_palette(
rows: Vec<Description<B>>,
columns: Vec<Description<B>>,
palette: Option<ColorPalette>
) -> Self
pub fn descriptions(&self, direction: LineDirection) -> &[Rc<Description<B>>]ⓘ
How many cells in the row with given index are known to be of particular color
How many cells in the column with given index are known to be of particular color
How many cells in the whole grid are known to be of particular color
For the given cell yield the neighbour cells that are not completely solved yet.
Trait Implementations
Auto Trait Implementations
impl<B> !RefUnwindSafe for Board<B>
impl<B> !UnwindSafe for Board<B>
Blanket Implementations
Mutably borrows from an owned value. Read more