pub trait Inner<T> {
// Required methods
fn inner(&self) -> &T;
fn into_inner(self) -> T;
}Expand description
§============================================================================ MISC HELPERS
Inner
For newtypes to expose their innermost value.
Required Methods§
fn inner(&self) -> &T
fn into_inner(self) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".