Struct gio::AppInfo
[−]
pub struct AppInfo(_, _);
Methods
impl AppInfo
[src]
fn create_from_commandline<'a, P: Into<Option<&'a str>>>(
commandline: &str,
application_name: P,
flags: AppInfoCreateFlags
) -> Result<AppInfo, Error>
commandline: &str,
application_name: P,
flags: AppInfoCreateFlags
) -> Result<AppInfo, Error>
fn get_all() -> Vec<AppInfo>
fn get_all_for_type(content_type: &str) -> Vec<AppInfo>
fn get_default_for_type(
content_type: &str,
must_support_uris: bool
) -> Option<AppInfo>
content_type: &str,
must_support_uris: bool
) -> Option<AppInfo>
fn get_default_for_uri_scheme(uri_scheme: &str) -> Option<AppInfo>
fn get_fallback_for_type(content_type: &str) -> Vec<AppInfo>
fn get_recommended_for_type(content_type: &str) -> Vec<AppInfo>
fn launch_default_for_uri<'a, P: Into<Option<&'a AppLaunchContext>>>(
uri: &str,
launch_context: P
) -> Result<(), Error>
uri: &str,
launch_context: P
) -> Result<(), Error>
fn reset_type_associations(content_type: &str)
Trait Implementations
impl Clone for AppInfo
fn clone(&self) -> AppInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for AppInfo
impl Hash for AppInfo
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for AppInfo
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for AppInfo
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.