#[non_exhaustive]pub struct Realloc {
pub is_relocated: Option<bool>,
pub free: Region,
pub alloc: Region,
pub backtrace: Option<Backtrace>,
}
Expand description
Description of a reallocation.
Reallocations frees one location in memory and copies the shared prefix. If the region is the same size or smaller, it can usually be performed in-place.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.is_relocated: Option<bool>
Indicates if the subset of the old region was faithfully copied over to the new region.
free: Region
The region that was freed.
alloc: Region
The region that was allocated.
backtrace: Option<Backtrace>
Backtrace of the reallocation request.