Skip to main content

Crate slop_alloc

Crate slop_alloc 

Source

Modules§

mem

Macros§

buffer
Creates a Buffer containing the arguments.

Structs§

AllocError
Buffer
A fixed-capacity buffer with heap-allocated contents.
CpuBackend
Init
RawBuffer
Slice
A slice of data associated with a specific allocator type.

Enums§

TryReserveError

Constants§

GLOBAL_CPU_BACKEND

Traits§

Allocator
An implementation of Allocator can allocate, grow, shrink, and deallocate arbitrary blocks of data described via Layout
Backend
Safety
CanCopyFrom
CanCopyFromRef
CanCopyInto
CanCopyIntoRef
CopyIntoBackend
Copy data between different backends
CopyToBackend
GlobalBackend
HasBackend
IntoGlobal
IntoHost
ToGlobal
ToHost