pub struct DesktopFile {
pub entry: DesktopEntry,
pub actions: HashMap<String, DesktopAction>,
}
Expand description
Represents a complete desktop file including the main entry and all its associated actions.
Fields§
§entry: DesktopEntry
The main desktop entry
actions: HashMap<String, DesktopAction>
Map of action identifiers to their definitions
Trait Implementations§
Source§impl Clone for DesktopFile
impl Clone for DesktopFile
Source§fn clone(&self) -> DesktopFile
fn clone(&self) -> DesktopFile
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DesktopFile
impl Debug for DesktopFile
Source§impl Default for DesktopFile
impl Default for DesktopFile
Source§fn default() -> DesktopFile
fn default() -> DesktopFile
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DesktopFile
impl RefUnwindSafe for DesktopFile
impl Send for DesktopFile
impl Sync for DesktopFile
impl Unpin for DesktopFile
impl UnwindSafe for DesktopFile
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