pub trait IGodRoomUnitSelectMenuContentMethods: IGodRoomUnitSelectMenuContent {
// Provided methods
fn get_god_list_active(self) -> List_1<GodUnit> { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn calc_w(self) -> f32 { ... }
fn calc_h(self) -> f32 { ... }
fn open_status(self) { ... }
fn close_status(self) { ... }
fn set_unit_status(self, unit: impl Into<Unit>) { ... }
fn on_help(self, parent: impl Into<ProcInst>) { ... }
fn update_god_info(self, unit: impl Into<Unit>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_god_list_active(self) -> List_1<GodUnit>
fn get_god_list_active(self) -> List_1<GodUnit>
GetGodListActive() overload
Sourcefn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
CalcCursorMovedPosY(i32) overload
Sourcefn open_status(self)
fn open_status(self)
OpenStatus() overload
Sourcefn close_status(self)
fn close_status(self)
CloseStatus() overload
Sourcefn set_unit_status(self, unit: impl Into<Unit>)
fn set_unit_status(self, unit: impl Into<Unit>)
SetUnitStatus(crate::app::unit::Unit) overload
Sourcefn update_god_info(self, unit: impl Into<Unit>)
fn update_god_info(self, unit: impl Into<Unit>)
UpdateGodInfo(crate::app::unit::Unit) 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: IGodRoomUnitSelectMenuContent> IGodRoomUnitSelectMenuContentMethods for __T
Available on crate feature
app-godroomunitselectmenucontent only.