Skip to main content

IRewindMenuContentMethods

Trait IRewindMenuContentMethods 

Source
pub trait IRewindMenuContentMethods: IRewindMenuContent {
Show 23 methods // Provided methods fn ctor(self) { ... } fn is_opening(self) -> bool { ... } fn is_closing(self) -> bool { ... } fn is_closed(self) -> bool { ... } fn get_menu_item_content_max(self) -> i32 { ... } fn get_rewind_menu_item_content( self, item_index: impl Into<i32>, ) -> RewindMenuItemContent { ... } fn init_obj_reference(self) { ... } fn build_menu_item_content(self) { ... } fn build_wh(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 start(self) { ... } fn update(self) { ... } fn after_build(self) { ... } fn suspend(self) { ... } fn un_suspend(self) { ... } fn update_parts( self, current_force_type: impl Into<Force_Type>, turn: impl Into<i32>, rest_unit_num: impl Into<i32>, ) { ... } fn is_menu_item_moving(self) -> bool { ... } fn move_up(self, scroll_count: impl Into<i32>) { ... } fn move_down(self, scroll_count: impl Into<i32>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn is_opening(self) -> bool

IsOpening() overload

Source

fn is_closing(self) -> bool

IsClosing() overload

Source

fn is_closed(self) -> bool

IsClosed() overload

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn get_rewind_menu_item_content( self, item_index: impl Into<i32>, ) -> RewindMenuItemContent

GetRewindMenuItemContent(i32) overload

Source

fn init_obj_reference(self)

InitObjReference() overload

Source

fn build_menu_item_content(self)

BuildMenuItemContent() overload

Source

fn build_wh(self)

BuildWH() 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 start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn suspend(self)

Suspend() overload

Source

fn un_suspend(self)

UnSuspend() overload

Source

fn update_parts( self, current_force_type: impl Into<Force_Type>, turn: impl Into<i32>, rest_unit_num: impl Into<i32>, )

UpdateParts(crate::app::force::Force_Type, i32, i32) overload

Source

fn is_menu_item_moving(self) -> bool

IsMenuItemMoving() overload

Source

fn move_up(self, scroll_count: impl Into<i32>)

MoveUp(i32) overload

Source

fn move_down(self, scroll_count: impl Into<i32>)

MoveDown(i32) 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: IRewindMenuContent> IRewindMenuContentMethods for __T

Available on crate feature app-rewindmenucontent only.