Trait libflatpak::prelude::BundleRefExt
source · pub trait BundleRefExt:
IsA<BundleRef>
+ Sealed
+ 'static {
// Provided methods
fn appstream(&self) -> Option<Bytes> { ... }
fn file(&self) -> Option<File> { ... }
fn icon(&self, size: i32) -> Option<Bytes> { ... }
fn installed_size(&self) -> u64 { ... }
fn metadata(&self) -> Option<Bytes> { ... }
fn origin(&self) -> Option<GString> { ... }
fn runtime_repo_url(&self) -> Option<GString> { ... }
}
Provided Methods§
sourcefn appstream(&self) -> Option<Bytes>
fn appstream(&self) -> Option<Bytes>
Get the compressed appstream for the app/runtime
§Returns
an glib::Bytes
with the appstream contents, or None
sourcefn installed_size(&self) -> u64
fn installed_size(&self) -> u64
Object Safety§
This trait is not object safe.