pub trait Coat<I: Coat<Self>>: Sized {
// Required method
fn coat(self) -> I;
}Expand description
Implemented by types that differ from T by adding or removing at most one
level of Coated.
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.