pub struct DesktopAction {
pub id: String,
pub name: String,
pub icon: String,
pub exec: String,
}Expand description
Something more an application can do, as a launcher’s menu offers it.
Fields§
§id: StringIts name in the desktop file, such as new-window.
name: StringWhat a menu shows, in the user’s language when the file has it.
icon: StringIts icon, as DesktopEntry::icon, or "".
exec: StringWhat it runs, as DesktopEntry::exec.
Trait Implementations§
Source§impl Clone for DesktopAction
impl Clone for DesktopAction
Source§impl Debug for DesktopAction
impl Debug for DesktopAction
Source§impl PartialEq for DesktopAction
impl PartialEq for DesktopAction
impl StructuralPartialEq for DesktopAction
Auto Trait Implementations§
impl Forget for DesktopAction
impl Freeze for DesktopAction
impl Move for DesktopAction
impl RefUnwindSafe for DesktopAction
impl Send for DesktopAction
impl Sync for DesktopAction
impl Unpin for DesktopAction
impl UnsafeUnpin for DesktopAction
impl UnwindSafe for DesktopAction
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