pub struct SystemTrayConfig { /* private fields */ }Expand description
Desktop system tray / macOS menu bar icon configuration.
Implementations§
Source§impl SystemTrayConfig
impl SystemTrayConfig
pub fn get_tooltip(&self) -> &String
pub fn get_mut_tooltip(&mut self) -> &mut String
pub fn set_tooltip(&mut self, val: String) -> &mut Self
pub fn get_title(&self) -> &String
pub fn get_mut_title(&mut self) -> &mut String
pub fn set_title(&mut self, val: String) -> &mut Self
Trait Implementations§
Source§impl Clone for SystemTrayConfig
impl Clone for SystemTrayConfig
Source§impl Debug for SystemTrayConfig
impl Debug for SystemTrayConfig
impl Eq for SystemTrayConfig
Source§impl PartialEq for SystemTrayConfig
impl PartialEq for SystemTrayConfig
impl StructuralPartialEq for SystemTrayConfig
Auto Trait Implementations§
impl Forget for SystemTrayConfig
impl Freeze for SystemTrayConfig
impl Move for SystemTrayConfig
impl RefUnwindSafe for SystemTrayConfig
impl Send for SystemTrayConfigwhere
RawVecInner: Send,
impl Sync for SystemTrayConfigwhere
RawVecInner: Sync,
impl Unpin for SystemTrayConfig
impl UnsafeUnpin for SystemTrayConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SystemTrayConfigwhere
RawVecInner: UnwindSafe,
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