[][src]Struct neutrino::widgets::menubar::MenuBarState

pub struct MenuBarState { /* fields omitted */ }

The state of a MenuBar

Fields

selected_item: Option<u32>
selected_function: Option<u32

Methods

impl MenuBarState[src]

pub fn selected_item(&self) -> Option<u32>[src]

Get selected item index

pub fn selected_function(&self) -> Option<u32>[src]

Get selected function index

pub fn set_selected_item(&mut self, selected_item: Option<u32>)[src]

Set selected item index

pub fn set_selected_function(&mut self, selected_function: Option<u32>)[src]

Set selected function index

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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,