Skip to main content

ITroopListSortMenuMethods

Trait ITroopListSortMenuMethods 

Source
pub trait ITroopListSortMenuMethods: ITroopListSortMenu {
Show 20 methods // Provided methods fn init(self) { ... } fn set_cursor_color(self, c: impl Into<Color>) { ... } fn update(self) { ... } fn get_page_num(self) -> i32 { ... } fn set_page(self, page: impl Into<i32>) { ... } fn get_cursor_x(self) -> f32 { ... } fn get_cursor_y(self) -> f32 { ... } fn set_cursor_pos(self) { ... } fn set_next_cursor_pos(self) { ... } fn inc_select(self, is_trigger: impl Into<bool>) -> bool { ... } fn dec_select(self, is_trigger: impl Into<bool>) -> bool { ... } fn get_select_sort_page(self) -> i32 { ... } fn get_sort_order(self) -> TroopListSortMenu_SortOrder { ... } fn get_sort_type(self) -> TroopListSortMenu_SortType { ... } fn change_sort_order(self) { ... } fn show_cursor(self, start_rect: impl Into<RectTransform>) { ... } fn hide_cursor(self) { ... } fn update_text_color(self) { ... } fn update_sort_arrow(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn init(self)

Init() overload

Source

fn set_cursor_color(self, c: impl Into<Color>)

SetCursorColor(crate::unity_engine::color::Color) overload

Source

fn update(self)

Update() overload

Source

fn get_page_num(self) -> i32

GetPageNum() overload

Source

fn set_page(self, page: impl Into<i32>)

SetPage(i32) overload

Source

fn get_cursor_x(self) -> f32

GetCursorX() overload

Source

fn get_cursor_y(self) -> f32

GetCursorY() overload

Source

fn set_cursor_pos(self)

SetCursorPos() overload

Source

fn set_next_cursor_pos(self)

SetNextCursorPos() overload

Source

fn inc_select(self, is_trigger: impl Into<bool>) -> bool

IncSelect(bool) overload

Source

fn dec_select(self, is_trigger: impl Into<bool>) -> bool

DecSelect(bool) overload

Source

fn get_select_sort_page(self) -> i32

GetSelectSortPage() overload

Source

fn get_sort_order(self) -> TroopListSortMenu_SortOrder

GetSortOrder() overload

Source

fn get_sort_type(self) -> TroopListSortMenu_SortType

GetSortType() overload

Source

fn change_sort_order(self)

ChangeSortOrder() overload

Source

fn show_cursor(self, start_rect: impl Into<RectTransform>)

ShowCursor(crate::unity_engine::recttransform::RectTransform) overload

Source

fn hide_cursor(self)

HideCursor() overload

Source

fn update_text_color(self)

UpdateTextColor() overload

Source

fn update_sort_arrow(self)

UpdateSortArrow() 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: ITroopListSortMenu> ITroopListSortMenuMethods for __T

Available on crate feature app-trooplistsortmenu only.