[][src]Trait nonogrid::solver::line::LineSolver

pub trait LineSolver {
type BlockType: Block;
    fn new(
        desc: ReadRc<Description<Self::BlockType>>,
        line: ReadRc<Vec<<Self::BlockType as Block>::Color>>
    ) -> Self;
fn solve(
        &mut self
    ) -> Result<Vec<<Self::BlockType as Block>::Color>, String>; }

Associated Types

Loading content...

Required methods

fn new(
    desc: ReadRc<Description<Self::BlockType>>,
    line: ReadRc<Vec<<Self::BlockType as Block>::Color>>
) -> Self

fn solve(&mut self) -> Result<Vec<<Self::BlockType as Block>::Color>, String>

Loading content...

Implementors

impl<B> LineSolver for DynamicSolver<B> where
    B: Block,
    B::Color: DynamicColor
[src]

type BlockType = B

Loading content...