pub struct Fragmentation {
pub free_pages: u32,
pub largest_free_run: u32,
pub free_run_count: u32,
}Expand description
Free-space shape of a pool, for fragmentation reports.
Fields§
§free_pages: u32Free pages in total.
largest_free_run: u32Pages in the largest free run.
free_run_count: u32Number of separate free runs.
Implementations§
Source§impl Fragmentation
impl Fragmentation
Trait Implementations§
Source§impl Clone for Fragmentation
impl Clone for Fragmentation
Source§fn clone(&self) -> Fragmentation
fn clone(&self) -> Fragmentation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Fragmentation
impl Debug for Fragmentation
Source§impl Default for Fragmentation
impl Default for Fragmentation
Source§fn default() -> Fragmentation
fn default() -> Fragmentation
Returns the “default value” for a type. Read more
Source§impl PartialEq for Fragmentation
impl PartialEq for Fragmentation
impl Copy for Fragmentation
impl Eq for Fragmentation
impl StructuralPartialEq for Fragmentation
Auto Trait Implementations§
impl Freeze for Fragmentation
impl RefUnwindSafe for Fragmentation
impl Send for Fragmentation
impl Sync for Fragmentation
impl Unpin for Fragmentation
impl UnsafeUnpin for Fragmentation
impl UnwindSafe for Fragmentation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)