Struct tauri::window::MenuHandle
source · pub struct MenuHandle<R: Runtime = Wry> { /* private fields */ }
Expand description
A handle to a system tray. Allows updating the context menu items.
Implementations§
Trait Implementations§
source§impl<R: Runtime> Clone for MenuHandle<R>
impl<R: Runtime> Clone for MenuHandle<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for MenuHandle<R>where <R as Runtime<EventLoopMessage>>::Dispatcher: RefUnwindSafe,
impl<R> Send for MenuHandle<R>
impl<R> Sync for MenuHandle<R>
impl<R> Unpin for MenuHandle<R>where <R as Runtime<EventLoopMessage>>::Dispatcher: Unpin,
impl<R> UnwindSafe for MenuHandle<R>where <R as Runtime<EventLoopMessage>>::Dispatcher: 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