pub trait ExpectedKind {
// Provided method
fn kind(&self) -> ExpectedTag { ... }
}Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait ExpectedKind {
// Provided method
fn kind(&self) -> ExpectedTag { ... }
}This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".