[][src]Trait eraserhead::Erase

pub unsafe trait Erase {
    type Erased: ?Sized;
    fn erase(&self) -> NonNull<Self::Erased>;
unsafe fn unerase<'a>(erased: NonNull<Self::Erased>) -> &'a Self; }

Associated Types

type Erased: ?Sized

Loading content...

Required methods

fn erase(&self) -> NonNull<Self::Erased>

unsafe fn unerase<'a>(erased: NonNull<Self::Erased>) -> &'a Self

Loading content...

Implementations on Foreign Types

impl<T: Erase> Erase for [T] where
    T::Erased: Sized
[src]

type Erased = [T::Erased]

Loading content...

Implementors

Loading content...