pub trait Alloc<'a, 't, T: 't> {
    fn alloc(&'a self, value: T) -> &'t mut T;
}
Expand description

Allocates values.

Required methods

Allocate a value of type T.

Trait Implementations

Allocate a value of type T.

Allocate a value of type T: ToOwned into this arena. Read more

Conditionally allocate a value of type Cow<T>. Read more

Forcefully allocate a value of type Cow<T>. Read more

Implementors