pub trait Resizable<T> { // Required method fn resize(&mut self, shape: Shape) -> Result<(), Error>; }