pub struct BodyArenaKindStats {
pub issued: usize,
pub live: usize,
pub dead: usize,
pub capacity: usize,
pub structural_bytes: usize,
}Expand description
Aggregate storage statistics for one kind of function-body entity.
structural_bytes counts the payload capacity reserved by the current body
arenas. It deliberately excludes allocations owned by payload fields (for
example mnemonic operands and block vectors); the Stage 7 probe measures
those with allocator accounting in a separate process.
Fields§
§issued: usize§live: usize§dead: usize§capacity: usize§structural_bytes: usizeTrait Implementations§
Source§impl Clone for BodyArenaKindStats
impl Clone for BodyArenaKindStats
Source§fn clone(&self) -> BodyArenaKindStats
fn clone(&self) -> BodyArenaKindStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BodyArenaKindStats
Source§impl Debug for BodyArenaKindStats
impl Debug for BodyArenaKindStats
Source§impl Default for BodyArenaKindStats
impl Default for BodyArenaKindStats
Source§fn default() -> BodyArenaKindStats
fn default() -> BodyArenaKindStats
Returns the “default value” for a type. Read more
impl Eq for BodyArenaKindStats
Source§impl PartialEq for BodyArenaKindStats
impl PartialEq for BodyArenaKindStats
impl StructuralPartialEq for BodyArenaKindStats
Auto Trait Implementations§
impl Freeze for BodyArenaKindStats
impl RefUnwindSafe for BodyArenaKindStats
impl Send for BodyArenaKindStats
impl Sync for BodyArenaKindStats
impl Unpin for BodyArenaKindStats
impl UnsafeUnpin for BodyArenaKindStats
impl UnwindSafe for BodyArenaKindStats
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