Skip to main content

Glyph

Trait Glyph 

Source
pub trait Glyph {
    // Provided methods
    fn presentations(&self) -> &'static [Presentation] { ... }
    fn color(&self) -> Option<Color> { ... }
    fn badge(&self) -> Option<&'static str> { ... }
}

Provided Methods§

Source

fn presentations(&self) -> &'static [Presentation]

Source

fn color(&self) -> Option<Color>

Source

fn badge(&self) -> Option<&'static str>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§