Skip to main content

IInstanceStateMethods

Trait IInstanceStateMethods 

Source
pub trait IInstanceStateMethods: IInstanceState {
    // Provided methods
    fn get_color(self) -> Color { ... }
    fn set_color(self, value: impl Into<Color>) { ... }
    fn try_create_state(self) { ... }
    fn start(self) { ... }
    fn update(self) { ... }
    fn update_color(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_color(self) -> Color

get_Color() overload

Source

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

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

Source

fn try_create_state(self)

TryCreateState() overload

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn update_color(self)

UpdateColor() 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: IInstanceState> IInstanceStateMethods for __T

Available on crate feature root-instancestate only.