pub trait IAchievementMenuContentMethods: IAchievementMenuContent {
// Provided methods
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn calc_w(self) -> f32 { ... }
fn calc_h(self) -> f32 { ... }
fn setup(self) { ... }
fn get_category_icon_num(self) -> i32 { ... }
fn set_category_icon_active(
self,
index: impl Into<i32>,
is_active: impl Into<bool>,
) { ... }
fn ctor(self) { ... }
}Provided Methods§
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_category_icon_num(self) -> i32
fn get_category_icon_num(self) -> i32
GetCategoryIconNum() overload
Sourcefn set_category_icon_active(
self,
index: impl Into<i32>,
is_active: impl Into<bool>,
)
fn set_category_icon_active( self, index: impl Into<i32>, is_active: impl Into<bool>, )
SetCategoryIconActive(i32, bool) 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: IAchievementMenuContent> IAchievementMenuContentMethods for __T
Available on crate feature
app-achievementmenucontent only.