pub struct TrayNotificationBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> TrayNotificationBuilder<'a>
impl<'a> TrayNotificationBuilder<'a>
pub fn parent<C: Into<ControlHandle>>(self, p: C) -> TrayNotificationBuilder<'a>
pub fn icon(self, ico: Option<&'a Icon>) -> TrayNotificationBuilder<'a>
pub fn realtime(self, r: bool) -> TrayNotificationBuilder<'a>
pub fn callback(self, cb: bool) -> TrayNotificationBuilder<'a>
pub fn visible(self, v: bool) -> TrayNotificationBuilder<'a>
sourcepub fn balloon_icon(self, ico: Option<&'a Icon>) -> TrayNotificationBuilder<'a>
pub fn balloon_icon(self, ico: Option<&'a Icon>) -> TrayNotificationBuilder<'a>
Note: balloon_icon is only used if info
is set AND flags uses USER_ICON
sourcepub fn flags(self, flags: TrayNotificationFlags) -> TrayNotificationBuilder<'a>
pub fn flags(self, flags: TrayNotificationFlags) -> TrayNotificationBuilder<'a>
Note: flags are only used if info
is set
sourcepub fn tip(self, tip: Option<&'a str>) -> TrayNotificationBuilder<'a>
pub fn tip(self, tip: Option<&'a str>) -> TrayNotificationBuilder<'a>
Note: tip will be truncated to 127 characters
sourcepub fn info(self, info: Option<&'a str>) -> TrayNotificationBuilder<'a>
pub fn info(self, info: Option<&'a str>) -> TrayNotificationBuilder<'a>
Note: info will be truncated to 255 characters
sourcepub fn info_title(self, title: Option<&'a str>) -> TrayNotificationBuilder<'a>
pub fn info_title(self, title: Option<&'a str>) -> TrayNotificationBuilder<'a>
Note: info will be truncated to 63 characters Note 2: This value is only used if info is also specified
pub fn build(self, out: &mut TrayNotification) -> Result<(), NwgError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TrayNotificationBuilder<'a>
impl<'a> !Send for TrayNotificationBuilder<'a>
impl<'a> !Sync for TrayNotificationBuilder<'a>
impl<'a> Unpin for TrayNotificationBuilder<'a>
impl<'a> UnwindSafe for TrayNotificationBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more