Skip to main content

Module global

Module global 

Source

Re-exportsΒ§

use super::AllocError; πŸ”’
use super::GlobalAllocator; πŸ”’ Experimental
use crate::alloc::Layout; πŸ”’
use crate::hint::assert_unchecked; πŸ”’
use crate::ptr::NonNull; πŸ”’
use crate::cmp; πŸ”’
use crate::ptr; πŸ”’

TraitsΒ§

GlobalAlloc
A memory allocator that can be registered as the standard library’s default through the #[global_allocator] attribute.