pub trait Wrapper: From<Self::Wrapped> {
type Wrapped;
// Required methods
fn dewrap(&self) -> &Self::Wrapped;
fn dewrap_into(self) -> Self::Wrapped
where Self: Sized;
}Required Associated Types§
Required Methods§
fn dewrap(&self) -> &Self::Wrapped
fn dewrap_into(self) -> Self::Wrappedwhere
Self: Sized,
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.