pub trait UserColours {
// Required methods
fn you(&self) -> Style;
fn other(&self) -> Style;
fn root(&self) -> Style;
fn no_user(&self) -> Style;
}Required Methods§
fn you(&self) -> Style
fn other(&self) -> Style
fn root(&self) -> Style
fn no_user(&self) -> Style
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".