Trait MenuitemProxyExt

Source
pub trait MenuitemProxyExt: 'static {
    // Required methods
    fn wrapped(&self) -> Option<Menuitem>;
    fn menu_item(&self) -> Option<Menuitem>;
}
Expand description

Trait containing all MenuitemProxy methods.

§Implementors

MenuitemProxy

Required Methods§

Source

fn wrapped(&self) -> Option<Menuitem>

Accesses the private variable of which Menuitem we are doing the proxying for.

§Returns

A Menuitem object or a None if we don’t have one or there is an error.

Source

fn menu_item(&self) -> Option<Menuitem>

Implementors§