pub trait IGridMenuContentMethods: IGridMenuContent {
Show 22 methods
// Provided methods
fn get_menu_item_content_max(self) -> i32 { ... }
fn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn init_obj_reference(self) { ... }
fn calc_w(self) -> f32 { ... }
fn calc_h(self) -> f32 { ... }
fn cycle_menu_item_content(
self,
is_forward: impl Into<bool>,
cycle_count: impl Into<i32>,
) { ... }
fn get_line_height_for_scroll(self) -> f32 { ... }
fn awake(self) { ... }
fn calc_column(self, menu_item_index: impl Into<i32>) -> i32 { ... }
fn calc_row(self, menu_item_index: impl Into<i32>) -> i32 { ... }
fn calc_menu_item_index(
self,
row: impl Into<i32>,
column: impl Into<i32>,
) -> i32 { ... }
fn set_cell_size(self, w: impl Into<f32>, h: impl Into<f32>) { ... }
fn set_cell_w(self, w: impl Into<f32>) { ... }
fn set_cell_h(self, h: impl Into<f32>) { ... }
fn get_cell_size(self) -> Vector2 { ... }
fn get_cell_w(self) -> f32 { ... }
fn get_cell_h(self) -> f32 { ... }
fn set_column_count(self, count: impl Into<i32>) { ... }
fn get_column_count(self) -> i32 { ... }
fn update_cursor_size(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
GetMenuItemContentMax() overload
Sourcefn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32
fn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32
CalcCursorMovedPosX(i32) 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 init_obj_reference(self)
fn init_obj_reference(self)
InitObjReference() overload
CycleMenuItemContent(bool, i32) overload
Sourcefn get_line_height_for_scroll(self) -> f32
fn get_line_height_for_scroll(self) -> f32
GetLineHeightForScroll() overload
Sourcefn calc_column(self, menu_item_index: impl Into<i32>) -> i32
fn calc_column(self, menu_item_index: impl Into<i32>) -> i32
CalcColumn(i32) overload
CalcMenuItemIndex(i32, i32) overload
Sourcefn set_cell_size(self, w: impl Into<f32>, h: impl Into<f32>)
fn set_cell_size(self, w: impl Into<f32>, h: impl Into<f32>)
SetCellSize(f32, f32) overload
Sourcefn set_cell_w(self, w: impl Into<f32>)
fn set_cell_w(self, w: impl Into<f32>)
SetCellW(f32) overload
Sourcefn set_cell_h(self, h: impl Into<f32>)
fn set_cell_h(self, h: impl Into<f32>)
SetCellH(f32) overload
Sourcefn get_cell_size(self) -> Vector2
fn get_cell_size(self) -> Vector2
GetCellSize() overload
Sourcefn get_cell_w(self) -> f32
fn get_cell_w(self) -> f32
GetCellW() overload
Sourcefn get_cell_h(self) -> f32
fn get_cell_h(self) -> f32
GetCellH() overload
Sourcefn set_column_count(self, count: impl Into<i32>)
fn set_column_count(self, count: impl Into<i32>)
SetColumnCount(i32) overload
Sourcefn get_column_count(self) -> i32
fn get_column_count(self) -> i32
GetColumnCount() overload
Sourcefn update_cursor_size(self)
fn update_cursor_size(self)
UpdateCursorSize() 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: IGridMenuContent> IGridMenuContentMethods for __T
Available on crate feature
app-gridmenucontent only.