Skip to main content

IPerformanceStopwatchMethods

Trait IPerformanceStopwatchMethods 

Source
pub trait IPerformanceStopwatchMethods: IPerformanceStopwatch {
    // Provided methods
    fn ctor(self, perfcounter: impl Into<PerformanceCounter>) { ... }
    fn dispose(self) { ... }
    fn get_result(self) -> PerformanceResult { ... }
}

Provided Methods§

Source

fn ctor(self, perfcounter: impl Into<PerformanceCounter>)

.ctor(crate::moon_sharp::interpreter::diagnostics::performancecounter::PerformanceCounter) overload

Source

fn dispose(self)

Dispose() overload

Source

fn get_result(self) -> PerformanceResult

GetResult() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IPerformanceStopwatch> IPerformanceStopwatchMethods for __T

Available on crate feature moon_sharp-interpreter-diagnostics-performance_counters-performancestopwatch only.