Skip to main content

IKeyHelp_UI_ElementMethods

Trait IKeyHelp_UI_ElementMethods 

Source
pub trait IKeyHelp_UI_ElementMethods: IKeyHelp_UI_Element {
    // Provided methods
    fn ctor(self, root: impl Into<GameObject>) { ... }
    fn set_visible(self, is_visible: impl Into<bool>) { ... }
    fn set_index(self, index: impl Into<i32>) { ... }
    fn set_text(self, text: impl Into<Il2CppString>) { ... }
}

Provided Methods§

Source

fn ctor(self, root: impl Into<GameObject>)

.ctor(crate::unity_engine::gameobject::GameObject) overload

Source

fn set_visible(self, is_visible: impl Into<bool>)

SetVisible(bool) overload

Source

fn set_index(self, index: impl Into<i32>)

SetIndex(i32) overload

Source

fn set_text(self, text: impl Into<Il2CppString>)

SetText(::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: IKeyHelp_UI_Element> IKeyHelp_UI_ElementMethods for __T

Available on crate feature app-keyhelp only.