pub struct DesktopNames {
pub programs: HashMap<String, String>,
pub dirs: HashMap<PathBuf, String>,
}Expand description
Installed application names, from the desktop entries.
Fields§
§programs: HashMap<String, String>By the basename of the program an entry’s Exec runs (firefox to
Firefox). See [names_from_entries].
dirs: HashMap<PathBuf, String>By the directory an app is installed in (/opt/google/chrome to
Google Chrome), for a process whose program no entry runs by name.
See [dirs_from_entries].
Trait Implementations§
Source§impl Clone for DesktopNames
impl Clone for DesktopNames
Source§impl Debug for DesktopNames
impl Debug for DesktopNames
Source§impl Default for DesktopNames
impl Default for DesktopNames
impl Eq for DesktopNames
Source§impl PartialEq for DesktopNames
impl PartialEq for DesktopNames
impl StructuralPartialEq for DesktopNames
Auto Trait Implementations§
impl Freeze for DesktopNames
impl RefUnwindSafe for DesktopNames
impl Send for DesktopNames
impl Sync for DesktopNames
impl Unpin for DesktopNames
impl UnsafeUnpin for DesktopNames
impl UnwindSafe for DesktopNames
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.