pub trait TextureExt: 'static {
    fn height(&self) -> i32;
    fn width(&self) -> i32;
    fn save_to_png(&self, filename: impl AsRef<Path>) -> Result<(), BoolError>;
}

Required methods

Implementors