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§
Sourcefn set_cursor_color(self, c: impl Into<Color>)
fn set_cursor_color(self, c: impl Into<Color>)
SetCursorColor(crate::unity_engine::color::Color) overload
Sourcefn get_page_num(self) -> i32
fn get_page_num(self) -> i32
GetPageNum() overload
Sourcefn get_cursor_x(self) -> f32
fn get_cursor_x(self) -> f32
GetCursorX() overload
Sourcefn get_cursor_y(self) -> f32
fn get_cursor_y(self) -> f32
GetCursorY() overload
Sourcefn set_cursor_pos(self)
fn set_cursor_pos(self)
SetCursorPos() overload
Sourcefn set_next_cursor_pos(self)
fn set_next_cursor_pos(self)
SetNextCursorPos() overload
Sourcefn inc_select(self, is_trigger: impl Into<bool>) -> bool
fn inc_select(self, is_trigger: impl Into<bool>) -> bool
IncSelect(bool) overload
Sourcefn dec_select(self, is_trigger: impl Into<bool>) -> bool
fn dec_select(self, is_trigger: impl Into<bool>) -> bool
DecSelect(bool) overload
Sourcefn get_select_sort_page(self) -> i32
fn get_select_sort_page(self) -> i32
GetSelectSortPage() overload
Sourcefn get_sort_order(self) -> TroopListSortMenu_SortOrder
fn get_sort_order(self) -> TroopListSortMenu_SortOrder
GetSortOrder() overload
Sourcefn get_sort_type(self) -> TroopListSortMenu_SortType
fn get_sort_type(self) -> TroopListSortMenu_SortType
GetSortType() overload
Sourcefn change_sort_order(self)
fn change_sort_order(self)
ChangeSortOrder() overload
Sourcefn show_cursor(self, start_rect: impl Into<RectTransform>)
fn show_cursor(self, start_rect: impl Into<RectTransform>)
ShowCursor(crate::unity_engine::recttransform::RectTransform) overload
Sourcefn hide_cursor(self)
fn hide_cursor(self)
HideCursor() overload
Sourcefn update_text_color(self)
fn update_text_color(self)
UpdateTextColor() overload
Sourcefn update_sort_arrow(self)
fn update_sort_arrow(self)
UpdateSortArrow() 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: ITroopListSortMenu> ITroopListSortMenuMethods for __T
Available on crate feature
app-trooplistsortmenu only.