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§
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_counter(self) -> i64
fn get_counter(self) -> i64
get_Counter() overload
Sourcefn set_counter(self, value: impl Into<i64>)
fn set_counter(self, value: impl Into<i64>)
set_Counter(i64) overload
Sourcefn get_instances(self) -> i32
fn get_instances(self) -> i32
get_Instances() overload
Sourcefn set_instances(self, value: impl Into<i32>)
fn set_instances(self, value: impl Into<i32>)
set_Instances(i32) overload
Sourcefn get_global(self) -> bool
fn get_global(self) -> bool
get_Global() overload
Sourcefn set_global(self, value: impl Into<bool>)
fn set_global(self, value: impl Into<bool>)
set_Global(bool) overload
Sourcefn get_type(self) -> PerformanceCounterType
fn get_type(self) -> PerformanceCounterType
get_Type() overload
Sourcefn set_type(self, value: impl Into<PerformanceCounterType>)
fn set_type(self, value: impl Into<PerformanceCounterType>)
set_Type(crate::moon_sharp::interpreter::diagnostics::performancecountertype::PerformanceCounterType) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() 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§
impl<__T: IPerformanceResult> IPerformanceResultMethods for __T
Available on crate feature
moon_sharp-interpreter-diagnostics-performanceresult only.