[−][src]Trait gio::prelude::LoadableIconExt
Required methods
fn load<P: IsA<Cancellable>>(
&self,
size: i32,
cancellable: Option<&P>
) -> Result<(InputStream, GString), Error>
&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
)
&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>>
&self,
size: i32
) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>
Implementors
impl<O: IsA<LoadableIcon>> LoadableIconExt for O
[src]
fn load<P: IsA<Cancellable>>(
&self,
size: i32,
cancellable: Option<&P>
) -> Result<(InputStream, GString), Error>
[src]
&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
)
[src]
&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>>
[src]
&self,
size: i32
) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>