[][src]Struct native_windows_gui::TrayNotificationBuilder

pub struct TrayNotificationBuilder<'a> { /* fields omitted */ }

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.