Skip to main content

IGlobalPerformanceStopwatchMethods

Trait IGlobalPerformanceStopwatchMethods 

Source
pub trait IGlobalPerformanceStopwatchMethods: IGlobalPerformanceStopwatch {
    // Provided methods
    fn ctor(self, perfcounter: impl Into<PerformanceCounter>) { ... }
    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 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: IGlobalPerformanceStopwatch> IGlobalPerformanceStopwatchMethods for __T

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