pub struct TrayConfig {
pub icon_path: PathBuf,
pub tooltip: Option<String>,
}Expand description
Tray icon configuration.
Fields§
§icon_path: PathBufIcon path relative to the bundle root.
tooltip: Option<String>Optional tooltip text.
Trait Implementations§
Source§impl Clone for TrayConfig
impl Clone for TrayConfig
Source§impl Debug for TrayConfig
impl Debug for TrayConfig
Source§impl<'de> Deserialize<'de> for TrayConfig
impl<'de> Deserialize<'de> for TrayConfig
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 TrayConfig
impl RefUnwindSafe for TrayConfig
impl Send for TrayConfig
impl Sync for TrayConfig
impl Unpin for TrayConfig
impl UnsafeUnpin for TrayConfig
impl UnwindSafe for TrayConfig
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