pub trait Tag:
Copy
+ Eq
+ Hash
+ Glyph
+ 'static {
// Required method
fn label(&self) -> &'static str;
// Provided method
fn highlight(&self) -> bool { ... }
}Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".