pub trait Intent {
// Required method
fn token(self) -> &'static str;
}Expand description
A colour intent this crate refers to but never resolves.
The string is the token name makeover publishes, so a renderer can look
it up without this crate knowing what colour came back.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".