pub struct MemoryPoolUsage {
pub total_size: usize,
pub allocated_size: usize,
pub free_size: usize,
pub current_offset: usize,
pub free_regions: usize,
}
Expand description
Memory pool usage statistics
Fields§
§total_size: usize
§allocated_size: usize
§free_size: usize
§current_offset: usize
§free_regions: usize
Trait Implementations§
Source§impl Clone for MemoryPoolUsage
impl Clone for MemoryPoolUsage
Source§fn clone(&self) -> MemoryPoolUsage
fn clone(&self) -> MemoryPoolUsage
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 MemoryPoolUsage
impl RefUnwindSafe for MemoryPoolUsage
impl Send for MemoryPoolUsage
impl Sync for MemoryPoolUsage
impl Unpin for MemoryPoolUsage
impl UnwindSafe for MemoryPoolUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more