pub trait ColorButtonExtManual: 'static {
// Required methods
fn new_with_color(color: &Color) -> ColorButton;
fn get_color(&self) -> Color;
fn set_color(&self, color: &Color);
}
Required Methods§
fn new_with_color(color: &Color) -> ColorButton
fn get_color(&self) -> Color
fn set_color(&self, color: &Color)
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.