pub struct RegionStatistics {
pub size: usize,
pub used: usize,
pub free: usize,
}
Fields§
§size: usize
Total usable size of the heap region in bytes.
used: usize
Currently used size of the heap region in bytes.
free: usize
Free size of the heap region in bytes.
Trait Implementations§
Source§impl Clone for RegionStatistics
impl Clone for RegionStatistics
Source§fn clone(&self) -> RegionStatistics
fn clone(&self) -> RegionStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RegionStatistics
impl RefUnwindSafe for RegionStatistics
impl Send for RegionStatistics
impl Sync for RegionStatistics
impl Unpin for RegionStatistics
impl UnwindSafe for RegionStatistics
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