Struct gio::DesktopAppInfo [−]
pub struct DesktopAppInfo(_, _);
Methods
impl DesktopAppInfo
[src]
impl DesktopAppInfo
impl DesktopAppInfo
[src]
impl DesktopAppInfo
pub fn new(desktop_id: &str) -> DesktopAppInfo
[src]
pub fn new(desktop_id: &str) -> DesktopAppInfo
pub fn new_from_filename<P: AsRef<Path>>(filename: P) -> DesktopAppInfo
[src]
pub fn new_from_filename<P: AsRef<Path>>(filename: P) -> DesktopAppInfo
pub fn new_from_keyfile(key_file: &KeyFile) -> DesktopAppInfo
[src]
pub fn new_from_keyfile(key_file: &KeyFile) -> DesktopAppInfo
pub fn set_desktop_env(desktop_env: &str)
[src]
pub fn set_desktop_env(desktop_env: &str)
Trait Implementations
impl Clone for DesktopAppInfo
impl Clone for DesktopAppInfo
fn clone(&self) -> DesktopAppInfo
fn clone(&self) -> DesktopAppInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for DesktopAppInfo
impl Hash for DesktopAppInfo
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for DesktopAppInfo
impl Ord for DesktopAppInfo
fn cmp(&self, other: &DesktopAppInfo) -> Ordering
fn cmp(&self, other: &DesktopAppInfo) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for DesktopAppInfo
impl StaticType for DesktopAppInfo
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for DesktopAppInfo
impl<T: IsA<Object>> PartialEq<T> for DesktopAppInfo
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for DesktopAppInfo
impl Eq for DesktopAppInfo
impl<T: IsA<Object>> PartialOrd<T> for DesktopAppInfo
impl<T: IsA<Object>> PartialOrd<T> for DesktopAppInfo
fn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for DesktopAppInfo
impl Debug for DesktopAppInfo
impl IsA<AppInfo> for DesktopAppInfo
impl IsA<AppInfo> for DesktopAppInfo
impl IsA<Object> for DesktopAppInfo
impl IsA<Object> for DesktopAppInfo
Auto Trait Implementations
impl !Send for DesktopAppInfo
impl !Send for DesktopAppInfo
impl !Sync for DesktopAppInfo
impl !Sync for DesktopAppInfo