[−][src]Struct native_windows_gui::TrayNotificationBuilder
Implementations
impl<'a> TrayNotificationBuilder<'a>
[src]
pub fn parent<C: Into<ControlHandle>>(self, p: C) -> TrayNotificationBuilder<'a>
[src]
pub fn icon(self, ico: Option<&'a Icon>) -> TrayNotificationBuilder<'a>
[src]
pub fn realtime(self, r: bool) -> TrayNotificationBuilder<'a>
[src]
pub fn callback(self, cb: bool) -> TrayNotificationBuilder<'a>
[src]
pub fn visible(self, v: bool) -> TrayNotificationBuilder<'a>
[src]
pub fn balloon_icon(self, ico: Option<&'a Icon>) -> TrayNotificationBuilder<'a>
[src]
Note: balloon_icon is only used if info
is set AND flags uses USER_ICON
pub fn flags(self, flags: TrayNotificationFlags) -> TrayNotificationBuilder<'a>
[src]
Note: flags are only used if info
is set
pub fn tip(self, tip: Option<&'a str>) -> TrayNotificationBuilder<'a>
[src]
Note: tip will be truncated to 127 characters
pub fn info(self, info: Option<&'a str>) -> TrayNotificationBuilder<'a>
[src]
Note: info will be truncated to 255 characters
pub fn info_title(self, title: Option<&'a str>) -> TrayNotificationBuilder<'a>
[src]
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>,