Skip to main content

IConfigMenuItemContentMethods

Trait IConfigMenuItemContentMethods 

Source
pub trait IConfigMenuItemContentMethods: IConfigMenuItemContent {
    // Provided methods
    fn build_text(self) { ... }
    fn update_text_color(self) { ... }
    fn set_active(self, obj: impl Into<GameObject>, enable: impl Into<bool>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn build_text(self)

BuildText() overload

Source

fn update_text_color(self)

UpdateTextColor() overload

Source

fn set_active(self, obj: impl Into<GameObject>, enable: impl Into<bool>)

SetActive(crate::unity_engine::gameobject::GameObject, bool) overload

Source

fn ctor(self)

.ctor() 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: IConfigMenuItemContent> IConfigMenuItemContentMethods for __T

Available on crate feature root-configmenuitemcontent only.