pub trait IUnitSelectMenuContent_2Methods: IUnitSelectMenuContent_2 {
// Provided methods
fn calc_w(self) -> f32 { ... }
fn after_build(self) { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn awake(self) { ... }
fn set_reliance(
self,
select_unit_list: impl Into<List_1<Unit>>,
now_cursor_unit: impl Into<Unit>,
) { ... }
fn on_close(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn after_build(self)
fn after_build(self)
AfterBuild() 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 set_reliance(
self,
select_unit_list: impl Into<List_1<Unit>>,
now_cursor_unit: impl Into<Unit>,
)
fn set_reliance( self, select_unit_list: impl Into<List_1<Unit>>, now_cursor_unit: impl Into<Unit>, )
SetReliance(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>, 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: IUnitSelectMenuContent_2> IUnitSelectMenuContent_2Methods for __T
Available on crate feature
app-cooking_menu-unitselectmenucontent_2 only.