pub trait IGUIContentMethods: IGUIContent {
// Provided methods
fn get_text(self) -> Il2CppString { ... }
fn set_text(self, value: impl Into<Il2CppString>) { ... }
fn set_image(self, value: impl Into<Texture>) { ... }
fn get_tooltip(self) -> Il2CppString { ... }
fn set_tooltip(self, value: impl Into<Il2CppString>) { ... }
fn ctor(self) { ... }
fn ctor_2(self, text: impl Into<Il2CppString>) { ... }
fn ctor_3(
self,
text: impl Into<Il2CppString>,
image: impl Into<Texture>,
tooltip: impl Into<Il2CppString>,
) { ... }
fn ctor_4(self, src: impl Into<GUIContent>) { ... }
}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<Texture>)
fn set_image(self, value: impl Into<Texture>)
set_image(crate::unity_engine::texture::Texture) overload
Sourcefn get_tooltip(self) -> Il2CppString
fn get_tooltip(self) -> Il2CppString
get_tooltip() overload
Sourcefn set_tooltip(self, value: impl Into<Il2CppString>)
fn set_tooltip(self, value: impl Into<Il2CppString>)
set_tooltip(::unity::Il2CppString) overload
Sourcefn ctor_2(self, text: impl Into<Il2CppString>)
fn ctor_2(self, text: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_3(
self,
text: impl Into<Il2CppString>,
image: impl Into<Texture>,
tooltip: impl Into<Il2CppString>,
)
fn ctor_3( self, text: impl Into<Il2CppString>, image: impl Into<Texture>, tooltip: impl Into<Il2CppString>, )
.ctor(::unity::Il2CppString, crate::unity_engine::texture::Texture, ::unity::Il2CppString) overload
Sourcefn ctor_4(self, src: impl Into<GUIContent>)
fn ctor_4(self, src: impl Into<GUIContent>)
.ctor(crate::unity_engine::guicontent::GUIContent) 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: IGUIContent> IGUIContentMethods for __T
Available on crate feature
unity_engine-guicontent only.