pub enum AllocKind {
LiveData,
Function,
VTable,
Dead,
}
Expand description
The return value of get_alloc_info
indicates the “kind” of the allocation.
Variants§
LiveData
A regular live data allocation.
Function
A function allocation (that fn ptrs point to).
VTable
A (symbolic) vtable allocation.
Dead
A dead allocation.
Auto Trait Implementations§
impl RefUnwindSafe for AllocKind
impl Send for AllocKind
impl Sync for AllocKind
impl Unpin for AllocKind
impl UnwindSafe for AllocKind
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
LiveData
: 0 bytesFunction
: 0 bytesVTable
: 0 bytesDead
: 0 bytes