Skip to main content

UserColours

Trait UserColours 

Source
pub trait UserColours {
    // Required methods
    fn you(&self) -> Style;
    fn other(&self) -> Style;
    fn root(&self) -> Style;
    fn no_user(&self) -> Style;
}

Required Methods§

Source

fn you(&self) -> Style

Source

fn other(&self) -> Style

Source

fn root(&self) -> Style

Source

fn no_user(&self) -> Style

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Colours for Theme

Available on Unix only.