pub trait Kind:
Sized
+ Debug
+ Display {
// Required method
fn id(&self) -> Cow<'static, str>;
}Expand description
Each mod defines warnings for the type that it’s trying to parse or lint from a json::Element.
The mod::Kind should impl this trait to take part in the Warning system.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.