gdk_pixbuf::prelude

Trait PixbufLoaderExt

source
pub trait PixbufLoaderExt:
    IsA<PixbufLoader>
    + Sealed
    + 'static {
    // Provided methods
    fn close(&self) -> Result<(), Error> { ... }
    fn animation(&self) -> Option<PixbufAnimation> { ... }
    fn format(&self) -> Option<PixbufFormat> { ... }
    fn pixbuf(&self) -> Option<Pixbuf> { ... }
    fn set_size(&self, width: i32, height: i32) { ... }
    fn write(&self, buf: &[u8]) -> Result<(), Error> { ... }
    fn write_bytes(&self, buffer: &Bytes) -> Result<(), Error> { ... }
    fn connect_area_prepared<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_area_updated<F: Fn(&Self, i32, i32, i32, i32) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_size_prepared<F: Fn(&Self, i32, i32) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn close(&self) -> Result<(), Error>

source

fn animation(&self) -> Option<PixbufAnimation>

source

fn format(&self) -> Option<PixbufFormat>

source

fn pixbuf(&self) -> Option<Pixbuf>

source

fn set_size(&self, width: i32, height: i32)

source

fn write(&self, buf: &[u8]) -> Result<(), Error>

source

fn write_bytes(&self, buffer: &Bytes) -> Result<(), Error>

source

fn connect_area_prepared<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_area_updated<F: Fn(&Self, i32, i32, i32, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_size_prepared<F: Fn(&Self, i32, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§