Skip to main content

IMapUnitCommandMenuContentMethods

Trait IMapUnitCommandMenuContentMethods 

Source
pub trait IMapUnitCommandMenuContentMethods: IMapUnitCommandMenuContent {
    // Provided methods
    fn get_menu_item_content_max(self) -> i32 { ... }
    fn build_menu_item_content(self) { ... }
    fn update_back_cursor(self) { ... }
    fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn build_menu_item_content(self)

BuildMenuItemContent() overload

Source

fn update_back_cursor(self)

UpdateBackCursor() overload

Source

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

CalcCursorMovedPosY(i32) 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: IMapUnitCommandMenuContent> IMapUnitCommandMenuContentMethods for __T

Available on crate feature app-mapunitcommandmenucontent only.