pub trait ISystemScrollMenuContentMethods: ISystemScrollMenuContent {
// Provided methods
fn get_menu_item_content_max(self) -> i32 { ... }
fn calc_w(self) -> f32 { ... }
fn calc_h(self) -> f32 { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn get_encount_icon(
self,
rare_type: impl Into<EncountUnitData_RareType>,
) -> Sprite { ... }
fn ctor(self) { ... }
}Provided Methods§
GetMenuItemContentMax() 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 get_encount_icon(
self,
rare_type: impl Into<EncountUnitData_RareType>,
) -> Sprite
fn get_encount_icon( self, rare_type: impl Into<EncountUnitData_RareType>, ) -> Sprite
GetEncountIcon(crate::app::encountunitdata::EncountUnitData_RareType) 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: ISystemScrollMenuContent> ISystemScrollMenuContentMethods for __T
Available on crate feature
app-systemscrollmenucontent only.