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

pub enum Msg {
    UpdateMenu(Option<TopMenu>),
    UpdateDescription(Item),
    ItemActivated(Uuid, Intern),
    // some variants omitted
}

Messages of the widget.

Variants

UpdateMenu(Option<TopMenu>)

Update the button with a new menu.

UpdateDescription(Item)

Update the menu button description.

ItemActivated(Uuid, Intern)

An item got activated.

Trait Implementations

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, 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>,