Skip to main content

IPerformanceStatisticsMethods

Trait IPerformanceStatisticsMethods 

Source
pub trait IPerformanceStatisticsMethods: IPerformanceStatistics {
    // Provided methods
    fn get_enabled(self) -> bool { ... }
    fn set_enabled(self, value: impl Into<bool>) { ... }
    fn get_performance_counter_result(
        self,
        pc: impl Into<PerformanceCounter>,
    ) -> PerformanceResult { ... }
    fn get_performance_log(self) -> Il2CppString { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_enabled(self) -> bool

get_Enabled() overload

Source

fn set_enabled(self, value: impl Into<bool>)

set_Enabled(bool) overload

Source

fn get_performance_counter_result( self, pc: impl Into<PerformanceCounter>, ) -> PerformanceResult

GetPerformanceCounterResult(crate::moon_sharp::interpreter::diagnostics::performancecounter::PerformanceCounter) overload

Source

fn get_performance_log(self) -> Il2CppString

GetPerformanceLog() overload

Source

fn ctor(self)

.ctor() 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: IPerformanceStatistics> IPerformanceStatisticsMethods for __T

Available on crate feature moon_sharp-interpreter-diagnostics-performancestatistics only.