[][src]Trait moore::arenas::AllocOwnedSelf

pub trait AllocOwnedSelf<T>: for<'a> AllocOwned<'a, 'a, T> where
    T: ToOwned + ?Sized
{ }

Allocates values implementing ToOwned into itself.

This is merely a marker trait that you should not implement yourself. It is implemented automatically on anything that supports AllocOwned<'a, 'a, T> for any 'a. The allocated values have the same lifetime as &self.

Implementors

impl<T, A> AllocOwnedSelf<T> for A where
    T: ToOwned + ?Sized,
    A: for<'a> AllocOwned<'a, 'a, T>, 
[src]

Loading content...