Skip to main content

IMaterialListMenuItemMethods

Trait IMaterialListMenuItemMethods 

Source
pub trait IMaterialListMenuItemMethods: IMaterialListMenuItem {
    // Provided methods
    fn get_item(self) -> ItemData { ... }
    fn set_item(self, value: impl Into<ItemData>) { ... }
    fn ctor(self, item_data: impl Into<ItemData>) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn on_select(self) { ... }
}

Provided Methods§

Source

fn get_item(self) -> ItemData

get_Item() overload

Source

fn set_item(self, value: impl Into<ItemData>)

set_Item(crate::app::itemdata::ItemData) overload

Source

fn ctor(self, item_data: impl Into<ItemData>)

.ctor(crate::app::itemdata::ItemData) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn on_select(self)

OnSelect() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMaterialListMenuItem> IMaterialListMenuItemMethods for __T

Available on crate feature app-materiallistmenuitem only.