pub trait Dairy<'a>: ToOwned + Sealed {
type Cow: Cow<'a, Self>;
}Expand description
Internal trait which allows us to have different Cow
implementations for the same type across different platforms.
This is a sealed trait so only this crate can implement it.
Required Associated Types§
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.