Struct sway_utils::performance::PerformanceMetric
source · pub struct PerformanceMetric {
pub phase: String,
pub elapsed: f64,
pub memory_usage: Option<u64>,
}
Fields§
§phase: String
§elapsed: f64
§memory_usage: Option<u64>
Trait Implementations§
source§impl Debug for PerformanceMetric
impl Debug for PerformanceMetric
Auto Trait Implementations§
impl RefUnwindSafe for PerformanceMetric
impl Send for PerformanceMetric
impl Sync for PerformanceMetric
impl Unpin for PerformanceMetric
impl UnwindSafe for PerformanceMetric
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