Skip to main content

IMaterialListMenuContentMethods

Trait IMaterialListMenuContentMethods 

Source
pub trait IMaterialListMenuContentMethods: IMaterialListMenuContent {
    // Provided methods
    fn get_category(self) -> MaterialListMenuContent_CategoryType { ... }
    fn set_category(
        self,
        value: impl Into<MaterialListMenuContent_CategoryType>,
    ) { ... }
    fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
    fn init_category(self) { ... }
    fn left_category(self, is_trigger: impl Into<bool>) { ... }
    fn right_category(self, is_trigger: impl Into<bool>) { ... }
    fn set_item_help_text(self, text: impl Into<Il2CppString>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_category(self) -> MaterialListMenuContent_CategoryType

get_Category() overload

Source

fn set_category(self, value: impl Into<MaterialListMenuContent_CategoryType>)

set_Category(crate::app::materiallistmenucontent::MaterialListMenuContent_CategoryType) overload

Source

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

CalcCursorMovedPosY(i32) overload

Source

fn init_category(self)

InitCategory() overload

Source

fn left_category(self, is_trigger: impl Into<bool>)

LeftCategory(bool) overload

Source

fn right_category(self, is_trigger: impl Into<bool>)

RightCategory(bool) overload

Source

fn set_item_help_text(self, text: impl Into<Il2CppString>)

SetItemHelpText(::unity::Il2CppString) 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: IMaterialListMenuContent> IMaterialListMenuContentMethods for __T

Available on crate feature app-materiallistmenucontent only.