[]Struct gio::AppInfo

pub struct AppInfo(_, _);

Methods

impl AppInfo[src]

pub fn create_from_commandline<P: AsRef<OsStr>>(
    commandline: P,
    application_name: Option<&str>,
    flags: AppInfoCreateFlags
) -> Result<AppInfo, Error>
[src]

pub fn get_all() -> Vec<AppInfo>[src]

pub fn get_all_for_type(content_type: &str) -> Vec<AppInfo>[src]

pub fn get_default_for_type(
    content_type: &str,
    must_support_uris: bool
) -> Option<AppInfo>
[src]

pub fn get_default_for_uri_scheme(uri_scheme: &str) -> Option<AppInfo>[src]

pub fn get_fallback_for_type(content_type: &str) -> Vec<AppInfo>[src]

pub fn launch_default_for_uri<P: IsA<AppLaunchContext>>(
    uri: &str,
    context: Option<&P>
) -> Result<(), Error>
[src]

pub fn reset_type_associations(content_type: &str)[src]

Trait Implementations

impl Clone for AppInfo

impl Debug for AppInfo

impl Display for AppInfo[src]

impl Eq for AppInfo

impl Hash for AppInfo

impl IsA<AppInfo> for DesktopAppInfo

impl Ord for AppInfo

impl<T: ObjectType> PartialEq<T> for AppInfo

impl<T: ObjectType> PartialOrd<T> for AppInfo

impl StaticType for AppInfo

Auto Trait Implementations

impl RefUnwindSafe for AppInfo

impl !Send for AppInfo

impl !Sync for AppInfo

impl Unpin for AppInfo

impl UnwindSafe for AppInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.