Skip to main content

ISortieTopMenuItemContentMethods

Trait ISortieTopMenuItemContentMethods 

Source
pub trait ISortieTopMenuItemContentMethods: ISortieTopMenuItemContent {
    // Provided methods
    fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
    fn disable(self) { ... }
    fn set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>) { ... }
    fn set_help_active(self, b_active: impl Into<bool>, c: impl Into<Color>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn build(self, menu_item: impl Into<BasicMenuItem>)

Build(crate::app::basicmenuitem::BasicMenuItem) overload

Source

fn disable(self)

Disable() overload

Source

fn set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>)

SetHelpText(::unity::Il2CppString, crate::unity_engine::color::Color) overload

Source

fn set_help_active(self, b_active: impl Into<bool>, c: impl Into<Color>)

SetHelpActive(bool, crate::unity_engine::color::Color) 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: ISortieTopMenuItemContent> ISortieTopMenuItemContentMethods for __T

Available on crate feature app-sortietopmenuitemcontent only.