pub struct TrayClicked {
pub id: String,
}Expand description
Emitted when the user clicks a system tray icon. Routed as on_tray(id) and through on("tray", id, fn).
Fields§
§id: StringIdentifier matching the tray_icon(id, ...) registration call.
Trait Implementations§
Source§impl Clone for TrayClicked
impl Clone for TrayClicked
Source§fn clone(&self) -> TrayClicked
fn clone(&self) -> TrayClicked
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrayClicked
impl Debug for TrayClicked
impl Message for TrayClicked
Auto Trait Implementations§
impl Freeze for TrayClicked
impl RefUnwindSafe for TrayClicked
impl Send for TrayClicked
impl Sync for TrayClicked
impl Unpin for TrayClicked
impl UnsafeUnpin for TrayClicked
impl UnwindSafe for TrayClicked
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.