Struct offset_allocator::StorageReport
source · pub struct StorageReport {
pub total_free_space: u32,
pub largest_free_region: u32,
}
Expand description
Provides a summary of the state of the allocator, including space remaining.
Fields§
§total_free_space: u32
The amount of free space left.
largest_free_region: u32
The maximum potential size of a single contiguous allocation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StorageReport
impl RefUnwindSafe for StorageReport
impl Send for StorageReport
impl Sync for StorageReport
impl Unpin for StorageReport
impl UnwindSafe for StorageReport
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