Trait owning_ref::IntoErased [] [src]

pub unsafe trait IntoErased<'a> {
    type Erased;
    fn into_erased(self) -> Self::Erased;
}

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

Owner with the dereference type substituted to Erased.

Required Methods

Perform the type erasure.

Implementors