Skip to main content

GdkPixbufExt

Trait GdkPixbufExt 

Source
pub trait GdkPixbufExt {
    // Required method
    fn create_surface<W: IsA<Window>>(
        &self,
        scale: i32,
        for_window: Option<&W>,
    ) -> Option<Surface>;
}

Required Methods§

Source

fn create_surface<W: IsA<Window>>( &self, scale: i32, for_window: Option<&W>, ) -> Option<Surface>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GdkPixbufExt for Pixbuf

Source§

fn create_surface<W: IsA<Window>>( &self, scale: i32, for_window: Option<&W>, ) -> Option<Surface>

Implementors§