pub trait ITradeRootMethods: ITradeRoot {
// Provided methods
fn set_item_info(self, item: impl Into<UnitItem>) { ... }
fn setup(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>) { ... }
fn set_select_item(self, item: impl Into<UnitItem>) { ... }
fn set_select_item_2(self, unit: impl Into<Unit>, item_no: impl Into<i32>) { ... }
fn get_game_object_left(self) -> GameObject { ... }
fn get_game_object_right(self) -> GameObject { ... }
fn get_item_info(self) -> GameObject { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_item_info(self, item: impl Into<UnitItem>)
fn set_item_info(self, item: impl Into<UnitItem>)
SetItemInfo(crate::app::unititem::UnitItem) overload
Sourcefn setup(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>)
fn setup(self, from_unit: impl Into<Unit>, to_unit: impl Into<Unit>)
Setup(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn set_select_item(self, item: impl Into<UnitItem>)
fn set_select_item(self, item: impl Into<UnitItem>)
SetSelectItem(crate::app::unititem::UnitItem) overload
Sourcefn set_select_item_2(self, unit: impl Into<Unit>, item_no: impl Into<i32>)
fn set_select_item_2(self, unit: impl Into<Unit>, item_no: impl Into<i32>)
SetSelectItem(crate::app::unit::Unit, i32) overload
Sourcefn get_game_object_left(self) -> GameObject
fn get_game_object_left(self) -> GameObject
GetGameObjectLeft() overload
Sourcefn get_game_object_right(self) -> GameObject
fn get_game_object_right(self) -> GameObject
GetGameObjectRight() overload
Sourcefn get_item_info(self) -> GameObject
fn get_item_info(self) -> GameObject
GetItemInfo() 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: ITradeRoot> ITradeRootMethods for __T
Available on crate feature
app-traderoot only.