Skip to main content

IShopSellRootMethods

Trait IShopSellRootMethods 

Source
pub trait IShopSellRootMethods: IShopSellRoot {
Show 14 methods // Provided methods fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, return_event_handler: impl Into<ShopSellRoot_ReturnEventHandler>, ) { ... } fn destroy_2(self) { ... } fn ctor(self) { ... } fn update_item_detail(self) { ... } fn set_unit_image_active(self, is_active: impl Into<bool>) { ... } fn on_change_unit_to_prev(self) { ... } fn on_change_unit_to_next(self) { ... } fn on_switch_detail_display_way(self) { ... } fn on_select_menu_item(self, unit_item: impl Into<UnitItem>) { ... } fn on_decide_item( self, item_count: impl Into<i32>, total_value: impl Into<i32>, ) { ... } fn on_cancel_item( self, item_count: impl Into<i32>, total_value: impl Into<i32>, ) { ... } fn on_decide_to_sell(self) { ... } fn sell(self) { ... } fn on_request_close_menu(self) { ... }
}

Provided Methods§

Source

fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, return_event_handler: impl Into<ShopSellRoot_ReturnEventHandler>, )

Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::shopsellroot::ShopSellRoot_ReturnEventHandler) overload

Source

fn destroy_2(self)

Destroy() overload

Source

fn ctor(self)

.ctor() overload

Source

fn update_item_detail(self)

UpdateItemDetail() overload

Source

fn set_unit_image_active(self, is_active: impl Into<bool>)

SetUnitImageActive(bool) overload

Source

fn on_change_unit_to_prev(self)

OnChangeUnitToPrev() overload

Source

fn on_change_unit_to_next(self)

OnChangeUnitToNext() overload

Source

fn on_switch_detail_display_way(self)

OnSwitchDetailDisplayWay() overload

Source

fn on_select_menu_item(self, unit_item: impl Into<UnitItem>)

OnSelectMenuItem(crate::app::unititem::UnitItem) overload

Source

fn on_decide_item(self, item_count: impl Into<i32>, total_value: impl Into<i32>)

OnDecideItem(i32, i32) overload

Source

fn on_cancel_item(self, item_count: impl Into<i32>, total_value: impl Into<i32>)

OnCancelItem(i32, i32) overload

Source

fn on_decide_to_sell(self)

OnDecideToSell() overload

Source

fn sell(self)

Sell() overload

Source

fn on_request_close_menu(self)

OnRequestCloseMenu() 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: IShopSellRoot> IShopSellRootMethods for __T

Available on crate feature app-shopsellroot only.