Skip to main content

IGridMenuContentMethods

Trait IGridMenuContentMethods 

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

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

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

CalcCursorMovedPosX(i32) overload

Source

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

CalcCursorMovedPosY(i32) overload

Source

fn init_obj_reference(self)

InitObjReference() overload

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() overload

Source

fn cycle_menu_item_content( self, is_forward: impl Into<bool>, cycle_count: impl Into<i32>, )

CycleMenuItemContent(bool, i32) overload

Source

fn get_line_height_for_scroll(self) -> f32

GetLineHeightForScroll() overload

Source

fn awake(self)

Awake() overload

Source

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

CalcColumn(i32) overload

Source

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

CalcRow(i32) overload

Source

fn calc_menu_item_index( self, row: impl Into<i32>, column: impl Into<i32>, ) -> i32

CalcMenuItemIndex(i32, i32) overload

Source

fn set_cell_size(self, w: impl Into<f32>, h: impl Into<f32>)

SetCellSize(f32, f32) overload

Source

fn set_cell_w(self, w: impl Into<f32>)

SetCellW(f32) overload

Source

fn set_cell_h(self, h: impl Into<f32>)

SetCellH(f32) overload

Source

fn get_cell_size(self) -> Vector2

GetCellSize() overload

Source

fn get_cell_w(self) -> f32

GetCellW() overload

Source

fn get_cell_h(self) -> f32

GetCellH() overload

Source

fn set_column_count(self, count: impl Into<i32>)

SetColumnCount(i32) overload

Source

fn get_column_count(self) -> i32

GetColumnCount() overload

Source

fn update_cursor_size(self)

UpdateCursorSize() 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: IGridMenuContent> IGridMenuContentMethods for __T

Available on crate feature app-gridmenucontent only.