[][src]Trait gio::LoadableIconExt

pub trait LoadableIconExt: 'static {
    fn load<P: IsA<Cancellable>>(
        &self,
        size: i32,
        cancellable: Option<&P>
    ) -> Result<(InputStream, GString), Error>;
fn load_async<P: IsA<Cancellable>, Q: FnOnce(Result<(InputStream, GString), Error>) + Send + 'static>(
        &self,
        size: i32,
        cancellable: Option<&P>,
        callback: Q
    );
fn load_async_future(
        &self,
        size: i32
    ) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>; }

Required methods

fn load<P: IsA<Cancellable>>(
    &self,
    size: i32,
    cancellable: Option<&P>
) -> Result<(InputStream, GString), Error>

fn load_async<P: IsA<Cancellable>, Q: FnOnce(Result<(InputStream, GString), Error>) + Send + 'static>(
    &self,
    size: i32,
    cancellable: Option<&P>,
    callback: Q
)

fn load_async_future(
    &self,
    size: i32
) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

Loading content...

Implementors

impl<O: IsA<LoadableIcon>> LoadableIconExt for O[src]

Loading content...