pub trait IBasicItemMenuItemContentOldMethods: IBasicItemMenuItemContentOld {
// Provided methods
fn setup_object(self) { ... }
fn blank(self) { ... }
fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
fn build_text(self) { ... }
fn update_text_color(self) { ... }
fn get_text_component(self) -> Text { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn setup_object(self)
fn setup_object(self)
SetupObject() overload
Sourcefn build(self, menu_item: impl Into<BasicMenuItem>)
fn build(self, menu_item: impl Into<BasicMenuItem>)
Build(crate::app::basicmenuitem::BasicMenuItem) overload
Sourcefn build_text(self)
fn build_text(self)
BuildText() overload
Sourcefn update_text_color(self)
fn update_text_color(self)
UpdateTextColor() overload
Sourcefn get_text_component(self) -> Text
fn get_text_component(self) -> Text
GetTextComponent() 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§
impl<__T: IBasicItemMenuItemContentOld> IBasicItemMenuItemContentOldMethods for __T
Available on crate feature
app-basicitemmenuitemcontentold only.