Skip to main content

IPerformanceResultMethods

Trait IPerformanceResultMethods 

Source
pub trait IPerformanceResultMethods: IPerformanceResult {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn set_name(self, value: impl Into<Il2CppString>) { ... }
    fn get_counter(self) -> i64 { ... }
    fn set_counter(self, value: impl Into<i64>) { ... }
    fn get_instances(self) -> i32 { ... }
    fn set_instances(self, value: impl Into<i32>) { ... }
    fn get_global(self) -> bool { ... }
    fn set_global(self, value: impl Into<bool>) { ... }
    fn get_type(self) -> PerformanceCounterType { ... }
    fn set_type(self, value: impl Into<PerformanceCounterType>) { ... }
    fn to_string(self) -> Il2CppString { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_Name(::unity::Il2CppString) overload

Source

fn get_counter(self) -> i64

get_Counter() overload

Source

fn set_counter(self, value: impl Into<i64>)

set_Counter(i64) overload

Source

fn get_instances(self) -> i32

get_Instances() overload

Source

fn set_instances(self, value: impl Into<i32>)

set_Instances(i32) overload

Source

fn get_global(self) -> bool

get_Global() overload

Source

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

set_Global(bool) overload

Source

fn get_type(self) -> PerformanceCounterType

get_Type() overload

Source

fn set_type(self, value: impl Into<PerformanceCounterType>)

set_Type(crate::moon_sharp::interpreter::diagnostics::performancecountertype::PerformanceCounterType) overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IPerformanceResult> IPerformanceResultMethods for __T

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