Trait nonogrid::Block [−][src]
pub trait Block where
Self: Debug + Eq + Hash + Default + Copy + Send + Sync, {
type Color: Color;
fn from_size_and_color(size: usize, color: Option<ColorId>) -> Self;
fn partial_sums(desc: &[Self]) -> Vec<usize>
where
Self: Sized;
fn size(self) -> usize;
fn color(self) -> Self::Color;
fn from_str_and_color(s: &str, color: Option<ColorId>) -> Self { ... }
}