pub trait Maskable: MaskableMut + ToOwned{
// Provided methods
fn to_mask(&self) -> <Self as ToOwned>::Owned { ... }
fn to_unmask(&self) -> <Self as ToOwned>::Owned { ... }
}Provided Methods§
fn to_mask(&self) -> <Self as ToOwned>::Owned
fn to_unmask(&self) -> <Self as ToOwned>::Owned
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.