pub enum EntryType {
Application(ApplicationFields),
Link(LinkFields),
Directory,
Unknown,
}
Expand description
The type of desktop entry, which determines its behavior and required fields.
Variants§
Application(ApplicationFields)
An application that can be launched
Link(LinkFields)
A URL shortcut
Directory
A directory entry, typically used in menus
Unknown
An unknown or unsupported type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryType
impl RefUnwindSafe for EntryType
impl Send for EntryType
impl Sync for EntryType
impl Unpin for EntryType
impl UnwindSafe for EntryType
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