pub trait IFade_FadeLayer: IObject {
// Provided methods
fn m_from_color(self) -> Color { ... }
fn set_m_from_color(self, value: Color) { ... }
fn m_to_color(self) -> Color { ... }
fn set_m_to_color(self, value: Color) { ... }
fn m_duration(self) -> f32 { ... }
fn set_m_duration(self, value: f32) { ... }
fn m_elapsed(self) -> f32 { ... }
fn set_m_elapsed(self, value: f32) { ... }
}Provided Methods§
fn m_from_color(self) -> Color
fn set_m_from_color(self, value: Color)
fn m_to_color(self) -> Color
fn set_m_to_color(self, value: Color)
fn m_duration(self) -> f32
fn set_m_duration(self, value: f32)
fn m_elapsed(self) -> f32
fn set_m_elapsed(self, value: f32)
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.