pub trait ITMP_Dropdown_OptionDataMethods: ITMP_Dropdown_OptionData {
// Provided methods
fn get_text(self) -> Il2CppString { ... }
fn set_text(self, value: impl Into<Il2CppString>) { ... }
fn get_image(self) -> Sprite { ... }
fn set_image(self, value: impl Into<Sprite>) { ... }
fn ctor(self) { ... }
fn ctor_2(self, text: impl Into<Il2CppString>) { ... }
fn ctor_3(self, image: impl Into<Sprite>) { ... }
fn ctor_4(self, text: impl Into<Il2CppString>, image: impl Into<Sprite>) { ... }
}Provided Methods§
Sourcefn get_text(self) -> Il2CppString
fn get_text(self) -> Il2CppString
get_text() overload
Sourcefn set_text(self, value: impl Into<Il2CppString>)
fn set_text(self, value: impl Into<Il2CppString>)
set_text(::unity::Il2CppString) overload
Sourcefn set_image(self, value: impl Into<Sprite>)
fn set_image(self, value: impl Into<Sprite>)
set_image(crate::unity_engine::sprite::Sprite) overload
Sourcefn ctor_2(self, text: impl Into<Il2CppString>)
fn ctor_2(self, text: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_4(self, text: impl Into<Il2CppString>, image: impl Into<Sprite>)
fn ctor_4(self, text: impl Into<Il2CppString>, image: impl Into<Sprite>)
.ctor(::unity::Il2CppString, crate::unity_engine::sprite::Sprite) 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: ITMP_Dropdown_OptionData> ITMP_Dropdown_OptionDataMethods for __T
Available on crate feature
tm_pro-tmp_dropdown only.