[−][src]Trait owning_ref::IntoErased
Helper trait for erasing the concrete type of what an owner derferences to,
for example Box<T> -> Box<Erased>
. This would be unneeded with
higher kinded types support in the language.
Associated Types
type Erased
Owner with the dereference type substituted to Erased
.
Required Methods
fn into_erased(self) -> Self::Erased
Perform the type erasure.
Implementations on Foreign Types
impl<'a, T: 'a> IntoErased<'a> for Box<T>
[src]
impl<'a, T: 'a> IntoErased<'a> for Box<T>
impl<'a, T: 'a> IntoErased<'a> for Rc<T>
[src]
impl<'a, T: 'a> IntoErased<'a> for Rc<T>
impl<'a, T: 'a> IntoErased<'a> for Arc<T>
[src]
impl<'a, T: 'a> IntoErased<'a> for Arc<T>