Function alloc::heap::usable_size [] [src]

pub fn usable_size(size: usize, align: usize) -> usize
Unstable (heap_api #27700)

: the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector

Returns the usable size of an allocation created with the specified the size and align.