pub struct BalloonNotification<'a> {
pub title: &'a str,
pub body: &'a str,
pub icon: BalloonNotificationStandardIcon,
}
Available on crate feature
ui
only.Expand description
A Balloon notification above the Windows notification area.
Used with NotificationIcon::set_balloon_notification
.
Fields§
§title: &'a str
§body: &'a str
§icon: BalloonNotificationStandardIcon
Trait Implementations§
Source§impl<'a> Clone for BalloonNotification<'a>
impl<'a> Clone for BalloonNotification<'a>
Source§fn clone(&self) -> BalloonNotification<'a>
fn clone(&self) -> BalloonNotification<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for BalloonNotification<'a>
impl<'a> Debug for BalloonNotification<'a>
Source§impl<'a> Default for BalloonNotification<'a>
impl<'a> Default for BalloonNotification<'a>
Source§fn default() -> BalloonNotification<'a>
fn default() -> BalloonNotification<'a>
Returns the “default value” for a type. Read more
impl<'a> Copy for BalloonNotification<'a>
Auto Trait Implementations§
impl<'a> Freeze for BalloonNotification<'a>
impl<'a> RefUnwindSafe for BalloonNotification<'a>
impl<'a> Send for BalloonNotification<'a>
impl<'a> Sync for BalloonNotification<'a>
impl<'a> Unpin for BalloonNotification<'a>
impl<'a> UnwindSafe for BalloonNotification<'a>
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