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
Source§impl PartialEq for NotificationIconOptions
impl PartialEq for NotificationIconOptions
impl Eq for NotificationIconOptions
impl StructuralPartialEq for NotificationIconOptions
Auto Trait Implementations§
impl Freeze for NotificationIconOptions
impl RefUnwindSafe for NotificationIconOptions
impl !Send for NotificationIconOptions
impl !Sync for NotificationIconOptions
impl Unpin 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