pub trait IDiscardItemRootMethods: IDiscardItemRoot {
// Provided methods
fn start(self) { ... }
fn get_send_item_menu_content(self) -> DiscardItemMenuContent { ... }
fn show(self) { ... }
fn hide(self) { ... }
fn on_select(self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>) { ... }
fn on_switch_detail_display_way(self) { ... }
fn update_item_detail(self) { ... }
fn close(self) { ... }
fn destroy(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
GetSendItemMenuContent() overload
Sourcefn on_select(self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>)
fn on_select(self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>)
OnSelect(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcefn on_switch_detail_display_way(self)
fn on_switch_detail_display_way(self)
OnSwitchDetailDisplayWay() overload
Sourcefn update_item_detail(self)
fn update_item_detail(self)
UpdateItemDetail() 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: IDiscardItemRoot> IDiscardItemRootMethods for __T
Available on crate feature
app-discarditemroot only.