pub struct DesktopShellConfig {
pub icon_path: Option<PathBuf>,
pub tray: Option<TrayConfig>,
pub menus: Vec<DesktopMenu>,
}Expand description
Runtime-neutral shell extension points for native desktop hosts.
Fields§
§icon_path: Option<PathBuf>Optional app icon path relative to the bundle root.
tray: Option<TrayConfig>Optional tray icon configuration.
Native menu declarations. Empty means platform default menu.
Trait Implementations§
Source§impl Clone for DesktopShellConfig
impl Clone for DesktopShellConfig
Source§impl Debug for DesktopShellConfig
impl Debug for DesktopShellConfig
Source§impl Default for DesktopShellConfig
impl Default for DesktopShellConfig
Source§impl<'de> Deserialize<'de> for DesktopShellConfig
impl<'de> Deserialize<'de> for DesktopShellConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DesktopShellConfig
impl RefUnwindSafe for DesktopShellConfig
impl Send for DesktopShellConfig
impl Sync for DesktopShellConfig
impl Unpin for DesktopShellConfig
impl UnsafeUnpin for DesktopShellConfig
impl UnwindSafe for DesktopShellConfig
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