pub trait IntoInner {
type Target;
// Required method
fn into_inner(self) -> Self::Target;
}Expand description
Trait representing the conversion of a type into its inner type.
Required Associated Types§
Required Methods§
Sourcefn into_inner(self) -> Self::Target
fn into_inner(self) -> Self::Target
Returns the inner type consuming the original value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".