phobos/allocator/
mod.rs

1//! Contains useful memory allocator wrappers
2//! # Allocator traits
3//! These are defined in [`traits`], and can be implemented to supply a custom allocator type to all phobos functions.
4//! # Default allocator
5//! A default allocator based on the `gpu_allocator` crate is implemented [here](default_allocator). Types that take a generic allocator parameter
6//! default to this [`DefaultAllocator`](crate::DefaultAllocator) type.
7//! # Scratch allocator
8//! A linear allocator used for making temporary, short lived allocations. For more information check the [`scratch_allocator`]
9//! module documentation.
10
11pub mod default_allocator;
12pub mod memory_type;
13pub mod scratch_allocator;
14pub mod traits;