use crate::structs::StoneWall; pub trait Solver { fn new(n: u32) -> Self; fn solve(&mut self) -> StoneWall; fn n(&self) -> u32; fn h(&self) -> u32; fn w(&self) -> u32; }