Skip to main content

IGiftMenuMethods

Trait IGiftMenuMethods 

Source
pub trait IGiftMenuMethods: IGiftMenu {
    // Provided methods
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<BasicMenuContent>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn on_close(self) { ... }
    fn set_help_text(self, help_text: impl Into<Il2CppString>) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<BasicMenuContent>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn on_close(self)

OnClose() overload

Source

fn set_help_text(self, help_text: impl Into<Il2CppString>)

SetHelpText(::unity::Il2CppString) 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: IGiftMenu> IGiftMenuMethods for __T

Available on crate feature app-giftmenu only.