pub trait Glyph {
// Provided methods
fn presentations(&self) -> &'static [Presentation] { ... }
fn color(&self) -> Option<Color> { ... }
fn badge(&self) -> Option<&'static str> { ... }
}Provided Methods§
fn presentations(&self) -> &'static [Presentation]
fn color(&self) -> Option<Color>
fn badge(&self) -> Option<&'static str>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".