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

pub trait DynamicColor: Color where
    Self: Sized
{ fn set_additional_blank(
        line: ReadRc<Vec<Self>>
    ) -> (ReadRc<Vec<Self>>, bool);
fn both_colors() -> Option<Self>;
fn can_be_blank(&self) -> bool;
fn can_be(&self, color: &Self) -> bool;
fn add_color(&self, color: Self) -> Self;
fn solved_copy(&self) -> Self; }

Required methods

fn set_additional_blank(line: ReadRc<Vec<Self>>) -> (ReadRc<Vec<Self>>, bool)

fn both_colors() -> Option<Self>

fn can_be_blank(&self) -> bool

fn can_be(&self, color: &Self) -> bool

fn add_color(&self, color: Self) -> Self

fn solved_copy(&self) -> Self

Loading content...

Implementors

impl DynamicColor for BinaryColor[src]

impl DynamicColor for MultiColor[src]

Loading content...