Skip to main content

IStringItemMethods

Trait IStringItemMethods 

Source
pub trait IStringItemMethods: IStringItem {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(
        self,
        name: impl Into<Il2CppString>,
        english: impl Into<Il2CppString>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_name_english(self) -> Il2CppString { ... }
    fn set_name(
        self,
        name: impl Into<Il2CppString>,
        english: impl Into<Il2CppString>,
    ) { ... }
    fn a_call(self) -> MenuItem_Result { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_name_english(self) -> Il2CppString

GetNameEnglish() overload

Source

fn set_name( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, )

SetName(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn a_call(self) -> MenuItem_Result

ACall() 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: IStringItem> IStringItemMethods for __T

Available on crate feature app-stringitem only.