pub struct FragmentationAnalysis {
pub total_allocations: usize,
pub total_size: usize,
pub average_size: usize,
pub fragmentation_score: f64,
pub size_distribution: HashMap<String, usize>,
}Fields§
§total_allocations: usize§total_size: usize§average_size: usize§fragmentation_score: f64§size_distribution: HashMap<String, usize>Implementations§
Source§impl FragmentationAnalysis
impl FragmentationAnalysis
pub fn print_analysis(&self)
Trait Implementations§
Source§impl Clone for FragmentationAnalysis
impl Clone for FragmentationAnalysis
Source§fn clone(&self) -> FragmentationAnalysis
fn clone(&self) -> FragmentationAnalysis
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 FragmentationAnalysis
impl RefUnwindSafe for FragmentationAnalysis
impl Send for FragmentationAnalysis
impl Sync for FragmentationAnalysis
impl Unpin for FragmentationAnalysis
impl UnwindSafe for FragmentationAnalysis
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