Trait gdk4::prelude::TextureExt

source ·
pub trait TextureExt: IsA<Texture> + Sealed + 'static {
    // Provided methods
    fn height(&self) -> i32 { ... }
    fn width(&self) -> i32 { ... }
    fn save_to_png(&self, filename: impl AsRef<Path>) -> Result<(), BoolError> { ... }
}

Provided Methods§

source

fn height(&self) -> i32

source

fn width(&self) -> i32

source

fn save_to_png(&self, filename: impl AsRef<Path>) -> Result<(), BoolError>

Object Safety§

This trait is not object safe.

Implementors§