[][src]Enum ommui_frontend_gtk::ui::header::Msg

pub enum Msg {
    UpdateStatus {
        back_button: bool,
        caption: String,
        menu: Option<TopMenu>,
    },
    GoBack(Intern),
    MenuSelected(Uuid, Intern),
}

Message of the widget.

Variants

UpdateStatus

Update the status of the widget.

Fields of UpdateStatus

back_button: bool

Whether the back button should be shown.

caption: String

The caption that gets shown.

menu: Option<TopMenu>

The current menu.

GoBack(Intern)

Gets emitted when the back button has been clicked.

MenuSelected(Uuid, Intern)

Gets emitted when a menu item has been selected.

Trait Implementations

impl Clone for Msg[src]

impl DisplayVariant for Msg[src]

impl IntoOption<Msg> for Msg[src]

Auto Trait Implementations

impl !Send for Msg

impl !Sync for Msg

impl Unpin for Msg

impl UnwindSafe for Msg

impl RefUnwindSafe for Msg

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,