Skip to main content

IMyRoomMovieMenuContentMethods

Trait IMyRoomMovieMenuContentMethods 

Source
pub trait IMyRoomMovieMenuContentMethods: IMyRoomMovieMenuContent {
    // Provided methods
    fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
    fn get_menu_item_content_max(self) -> i32 { ... }
    fn calc_w(self) -> f32 { ... }
    fn calc_h(self) -> f32 { ... }
    fn set_title(self, title: impl Into<Il2CppString>) { ... }
    fn set_help(self, help: impl Into<Il2CppString>) { ... }
    fn set_thumbnail(self, thumbnail: impl Into<Il2CppString>) { ... }
    fn get(self, thumbnail: impl Into<Il2CppString>) -> Sprite { ... }
    fn awake(self) { ... }
    fn on_destroy(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

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

CalcCursorMovedPosY(i32) overload

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() overload

Source

fn set_title(self, title: impl Into<Il2CppString>)

SetTitle(::unity::Il2CppString) overload

Source

fn set_help(self, help: impl Into<Il2CppString>)

SetHelp(::unity::Il2CppString) overload

Source

fn set_thumbnail(self, thumbnail: impl Into<Il2CppString>)

SetThumbnail(::unity::Il2CppString) overload

Source

fn get(self, thumbnail: impl Into<Il2CppString>) -> Sprite

Get(::unity::Il2CppString) overload

Source

fn awake(self)

Awake() overload

Source

fn on_destroy(self)

OnDestroy() 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: IMyRoomMovieMenuContent> IMyRoomMovieMenuContentMethods for __T

Available on crate feature app-myroommoviemenucontent only.