pub struct ValueHeapReport {
pub used_slots: usize,
pub free_by_class: Vec<usize>,
pub free_runs: usize,
pub free_run_slots: usize,
pub capacity_slots: usize,
pub reserved_bytes: usize,
}Expand description
The value heap: the ranges of slots that objects’ properties and elements live in.
Fields§
§used_slots: usizeSlots held by live ranges.
free_by_class: Vec<usize>Free ranges by size class: free_by_class[k] counts free ranges of
class_size(k) slots.
free_runs: usizeFree runs the class lists do not hold, and their slots.
free_run_slots: usize§capacity_slots: usizeSlots allocated, used or free.
reserved_bytes: usizeTrait Implementations§
Source§impl Clone for ValueHeapReport
impl Clone for ValueHeapReport
Source§impl Debug for ValueHeapReport
impl Debug for ValueHeapReport
Source§impl Default for ValueHeapReport
impl Default for ValueHeapReport
impl Eq for ValueHeapReport
Source§impl PartialEq for ValueHeapReport
impl PartialEq for ValueHeapReport
impl StructuralPartialEq for ValueHeapReport
Auto Trait Implementations§
impl Freeze for ValueHeapReport
impl RefUnwindSafe for ValueHeapReport
impl Send for ValueHeapReport
impl Sync for ValueHeapReport
impl Unpin for ValueHeapReport
impl UnsafeUnpin for ValueHeapReport
impl UnwindSafe for ValueHeapReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more