[][src]Struct qt_widgets::q_system_tray_icon::MessageIcon

#[repr(transparent)]
pub struct MessageIcon(_);

This enum describes the icon that is shown when a balloon message is displayed.

C++ enum: QSystemTrayIcon::MessageIcon.

C++ documentation:

This enum describes the icon that is shown when a balloon message is displayed.

See also QMessageBox.

Methods

impl MessageIcon[src]

pub fn to_int(&self) -> c_int[src]

impl MessageIcon[src]

pub const NoIcon: MessageIcon[src]

No icon is shown. (C++ enum variant: NoIcon = 0)

pub const Information: MessageIcon[src]

An information icon is shown. (C++ enum variant: Information = 1)

pub const Warning: MessageIcon[src]

A standard warning icon is shown. (C++ enum variant: Warning = 2)

pub const Critical: MessageIcon[src]

A critical warning icon is shown. (C++ enum variant: Critical = 3)

Trait Implementations

impl Eq for MessageIcon[src]

impl Clone for MessageIcon[src]

impl PartialEq<MessageIcon> for MessageIcon[src]

impl From<i32> for MessageIcon[src]

impl From<MessageIcon> for c_int[src]

impl Copy for MessageIcon[src]

impl Debug for MessageIcon[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]