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§
Sourcefn set_color(self, value: impl Into<Color>)
fn set_color(self, value: impl Into<Color>)
set_Color(crate::unity_engine::color::Color) overload
Sourcefn try_create_state(self)
fn try_create_state(self)
TryCreateState() overload
Sourcefn update_color(self)
fn update_color(self)
UpdateColor() 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§
impl<__T: IInstanceState> IInstanceStateMethods for __T
Available on crate feature
root-instancestate only.