Skip to main content

IUnitSelectMenuContent_2Methods

Trait IUnitSelectMenuContent_2Methods 

Source
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§

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32

CalcCursorMovedPosY(i32) overload

Source

fn awake(self)

Awake() overload

Source

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

Source

fn on_close(self)

OnClose() overload

Source

fn ctor(self)

.ctor() 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: IUnitSelectMenuContent_2> IUnitSelectMenuContent_2Methods for __T

Available on crate feature app-cooking_menu-unitselectmenucontent_2 only.