pub struct NotificationIconOptions {
pub icon_id: NotificationIconId,
pub icon: Rc<Icon>,
pub tooltip_text: Option<String>,
pub visible: bool,
}Available on crate feature
ui only.Expand description
Options for a new notification icon used by Window::add_notification_icon.
Fields§
§icon_id: NotificationIconId§icon: Rc<Icon>§tooltip_text: Option<String>§visible: boolTrait Implementations§
Source§impl Debug for NotificationIconOptions
impl Debug for NotificationIconOptions
Source§impl Default for NotificationIconOptions
impl Default for NotificationIconOptions
Source§fn default() -> NotificationIconOptions
fn default() -> NotificationIconOptions
Returns the “default value” for a type. Read more
impl Eq for NotificationIconOptions
Source§impl PartialEq for NotificationIconOptions
impl PartialEq for NotificationIconOptions
Source§fn eq(&self, other: &NotificationIconOptions) -> bool
fn eq(&self, other: &NotificationIconOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationIconOptions
Auto Trait Implementations§
impl !Send for NotificationIconOptions
impl !Sync for NotificationIconOptions
impl Freeze for NotificationIconOptions
impl RefUnwindSafe for NotificationIconOptions
impl Unpin for NotificationIconOptions
impl UnsafeUnpin for NotificationIconOptions
impl UnwindSafe for NotificationIconOptions
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