Struct slab_alloc::SlabAlloc [] [src]

pub struct SlabAlloc<T, I: InitSystem, B: BackingAlloc> { /* fields omitted */ }

A typed slab allocator.

Trait Implementations

impl<T, I: InitSystem, B: BackingAlloc> ObjectAlloc<T> for SlabAlloc<T, I, B>
[src]

[src]

Allocates an object of type T. Read more

[src]

Deallocates an object previously returned by alloc. Read more

[src]

Allocator-specific method for signalling an out-of-memory condition. Read more

impl<T, I: InitSystem, B: BackingAlloc> UntypedObjectAlloc for SlabAlloc<T, I, B>
[src]

[src]

Obtains the Layout of allocated objects. Read more

[src]

Allocates an object of type T. Read more

[src]

Deallocates an object previously returned by alloc. Read more

[src]

Allocator-specific method for signalling an out-of-memory condition. Read more