pub struct RegionStats {
pub size: usize,
pub used: usize,
pub free: usize,
pub capabilities: EnumSet<MemoryCapability>,
}Expand description
Stats for a heap region
Fields§
§size: usizeTotal usable size of the heap region in bytes.
used: usizeCurrently used size of the heap region in bytes.
free: usizeFree size of the heap region in bytes.
capabilities: EnumSet<MemoryCapability>Capabilities of the memory region.
Trait Implementations§
Source§impl Debug for RegionStats
impl Debug for RegionStats
Auto Trait Implementations§
impl Freeze for RegionStats
impl RefUnwindSafe for RegionStats
impl Send for RegionStats
impl Sync for RegionStats
impl Unpin for RegionStats
impl UnsafeUnpin for RegionStats
impl UnwindSafe for RegionStats
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