[][src]Struct orbtk::prelude::api::widget::MessageBox

pub struct MessageBox { /* fields omitted */ }

A message box is a container for wrapping a message.

Methods

impl MessageBox[src]

pub fn new<M>(message: M) -> MessageBox where
    M: Any
[src]

pub fn is_type<M>(&self) -> bool where
    M: Any
[src]

pub fn message_type(&self) -> TypeId[src]

pub fn downcast<M>(self) -> Result<M, MessageError> where
    M: Any
[src]

pub fn downcast_ref<M>(&self) -> Result<&M, MessageError> where
    M: Any
[src]

Trait Implementations

impl Debug for MessageBox[src]

impl Into<MessageBox> for StringMessage[src]

Auto Trait Implementations

Blanket Implementations

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<E> Component for E where
    E: Any
[src]

impl<T> SetParameter for T