Skip to main content

ILabelItemMethods

Trait ILabelItemMethods 

Source
pub trait ILabelItemMethods: ILabelItem {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(
        self,
        name: impl Into<Il2CppString>,
        english: impl Into<Il2CppString>,
    ) { ... }
    fn is_selectable(self) -> bool { ... }
    fn get_back_color(self) -> Color { ... }
    fn get_font_color(self) -> Color { ... }
    fn get_margin_width(self) -> f32 { ... }
    fn get_margin_height(self) -> f32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn is_selectable(self) -> bool

IsSelectable() overload

Source

fn get_back_color(self) -> Color

GetBackColor() overload

Source

fn get_font_color(self) -> Color

GetFontColor() overload

Source

fn get_margin_width(self) -> f32

GetMarginWidth() overload

Source

fn get_margin_height(self) -> f32

GetMarginHeight() 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: ILabelItem> ILabelItemMethods for __T

Available on crate feature app-labelitem only.