pub trait IntoRef<'a>: 'a {
type Out: ?Sized;
// Required method
fn into_ref(self) -> &'a Self::Out;
}Expand description
Consume self into reference
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".