Trait libflatpak::prelude::RefExt
source · pub trait RefExt:
IsA<Ref>
+ Sealed
+ 'static {
// Provided methods
fn format_ref(&self) -> Option<GString> { ... }
fn format_ref_cached(&self) -> Option<GString> { ... }
fn arch(&self) -> Option<GString> { ... }
fn branch(&self) -> Option<GString> { ... }
fn collection_id(&self) -> Option<GString> { ... }
fn commit(&self) -> Option<GString> { ... }
fn kind(&self) -> RefKind { ... }
fn name(&self) -> Option<GString> { ... }
}
Expand description
Provided Methods§
fn format_ref(&self) -> Option<GString>
sourcefn format_ref_cached(&self) -> Option<GString>
fn format_ref_cached(&self) -> Option<GString>
Like flatpak_ref_format_ref()
but this returns the same string each time
it’s called rather than allocating a new one.
§Returns
string representation
sourcefn collection_id(&self) -> Option<GString>
fn collection_id(&self) -> Option<GString>
Object Safety§
This trait is not object safe.