Skip to main content

IVersusMapEditObjListMenuContentMethods

Trait IVersusMapEditObjListMenuContentMethods 

Source
pub trait IVersusMapEditObjListMenuContentMethods: IVersusMapEditObjListMenuContent {
    // Provided methods
    fn calc_w(self) -> f32 { ... }
    fn calc_h(self) -> f32 { ... }
    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 get_line_height_for_scroll(self) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() 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 get_line_height_for_scroll(self) -> f32

GetLineHeightForScroll() 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: IVersusMapEditObjListMenuContent> IVersusMapEditObjListMenuContentMethods for __T

Available on crate feature app-versusmapeditobjlistmenucontent only.