Skip to main content

IGUIStyleStateMethods

Trait IGUIStyleStateMethods 

Source
pub trait IGUIStyleStateMethods: IGUIStyleState {
    // Provided methods
    fn set_text_color(self, value: impl Into<Color>) { ... }
    fn cleanup(self) { ... }
    fn ctor(self) { ... }
    fn ctor_2(
        self,
        source_style: impl Into<GUIStyle>,
        source: impl Into<IntPtr>,
    ) { ... }
    fn finalize(self) { ... }
    fn set_text_color_injected(self) -> Color { ... }
}

Provided Methods§

Source

fn set_text_color(self, value: impl Into<Color>)

set_textColor(crate::unity_engine::color::Color) overload

Source

fn cleanup(self)

Cleanup() overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, source_style: impl Into<GUIStyle>, source: impl Into<IntPtr>)

.ctor(crate::unity_engine::guistyle::GUIStyle, ::unity::IntPtr) overload

Source

fn finalize(self)

Finalize() overload

Source

fn set_text_color_injected(self) -> Color

set_textColor_Injected(*mutcrate::unity_engine::color::Color) 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: IGUIStyleState> IGUIStyleStateMethods for __T

Available on crate feature unity_engine-guistylestate only.