pub struct Phase {
pub name: &'static str,
pub bytes_allocated: usize,
pub allocation_count: usize,
}Expand description
A named phase within a frame.
Fields§
§name: &'static strName of the phase
bytes_allocated: usizeBytes allocated during this phase
allocation_count: usizeNumber of allocations in this phase
Implementations§
Trait Implementations§
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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