Trait gio::prelude::LoadableIconExt
source · pub trait LoadableIconExt: IsA<LoadableIcon> + Sealed + 'static {
// Provided methods
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>> { ... }
}
Provided Methods§
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>>
Object Safety§
This trait is not object safe.