Trait gio::prelude::LoadableIconExt
source · [−]pub trait LoadableIconExt: 'static {
fn load(
&self,
size: i32,
cancellable: Option<&impl IsA<Cancellable>>
) -> Result<(InputStream, GString), Error>;
fn load_async<P: FnOnce(Result<(InputStream, GString), Error>) + 'static>(
&self,
size: i32,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
);
fn load_future(
&self,
size: i32
) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>;
}