pub trait Inner<T> {
// Required methods
fn inner(&self) -> &T;
fn into_inner(self) -> T;
}Expand description
Borrowed and consuming access to one-field application wrappers.
Required Methods§
Sourcefn into_inner(self) -> T
fn into_inner(self) -> T
Consume the wrapper and return its value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".