Trait unstorable::AsUnstorable [−][src]
pub trait AsUnstorable<'a>: Sized { type R: Unstorable<'a> + ?Sized; fn as_unstorable(&'a self) -> Self::R; }
Expand description
A trait with a blanket implementation for all types that allows references to them to be made into an unstorable type.
Associated Types
type R: Unstorable<'a> + ?Sized
type R: Unstorable<'a> + ?Sized
The type that is returned by as_unstorable
.
Required methods
fn as_unstorable(&'a self) -> Self::R
fn as_unstorable(&'a self) -> Self::R
Turns this type into an Unstorable type