desk_exec

Trait CleanPlaceholders

Source
pub trait CleanPlaceholders {
    // Required method
    fn exec_clean(&self) -> Result<Cow<'_, str>>;
}
Expand description

Gives the ability for a desktop entry type to provide an executable name cleaned from any placeholder values

Required Methods§

Source

fn exec_clean(&self) -> Result<Cow<'_, str>>

Implementations on Foreign Types§

Source§

impl<'a> CleanPlaceholders for DesktopEntry<'a>

Source§

fn exec_clean(&self) -> Result<Cow<'_, str>>

Returns the name of the entries executable without any placeholder values.

Implementors§