pub trait Tile<T>: Eq { // Required methods fn w(&self) -> i32; fn h(&self) -> i32; fn data(&self) -> &[T]; }