[−][src]Struct native_windows_gui::TrayNotificationBuilder
Implementations
impl<'a> TrayNotificationBuilder<'a>[src]
pub fn parent<C: Into<ControlHandle>>(
mut self: Self,
p: C
) -> TrayNotificationBuilder<'a>[src]
mut self: Self,
p: C
) -> TrayNotificationBuilder<'a>
pub fn icon(
mut self: Self,
ico: Option<&'a Icon>
) -> TrayNotificationBuilder<'a>[src]
mut self: Self,
ico: Option<&'a Icon>
) -> TrayNotificationBuilder<'a>
pub fn realtime(mut self: Self, r: bool) -> TrayNotificationBuilder<'a>[src]
pub fn callback(mut self: Self, cb: bool) -> TrayNotificationBuilder<'a>[src]
pub fn visible(mut self: Self, v: bool) -> TrayNotificationBuilder<'a>[src]
pub fn balloon_icon(
mut self: Self,
ico: Option<&'a Icon>
) -> TrayNotificationBuilder<'a>[src]
mut self: Self,
ico: Option<&'a Icon>
) -> TrayNotificationBuilder<'a>
Note: balloon_icon is only used if info is set AND flags uses USER_ICON
pub fn flags(
mut self: Self,
flags: TrayNotificationFlags
) -> TrayNotificationBuilder<'a>[src]
mut self: Self,
flags: TrayNotificationFlags
) -> TrayNotificationBuilder<'a>
Note: flags are only used if info is set
pub fn tip(mut self: Self, tip: Option<&'a str>) -> TrayNotificationBuilder<'a>[src]
Note: tip will be truncated to 127 characters
pub fn info(
mut self: Self,
info: Option<&'a str>
) -> TrayNotificationBuilder<'a>[src]
mut self: Self,
info: Option<&'a str>
) -> TrayNotificationBuilder<'a>
Note: info will be truncated to 255 characters
pub fn info_title(
mut self: Self,
title: Option<&'a str>
) -> TrayNotificationBuilder<'a>[src]
mut self: 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>[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TrayNotificationBuilder<'a>[src]
impl<'a> !Send for TrayNotificationBuilder<'a>[src]
impl<'a> !Sync for TrayNotificationBuilder<'a>[src]
impl<'a> Unpin for TrayNotificationBuilder<'a>[src]
impl<'a> UnwindSafe for TrayNotificationBuilder<'a>[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,