Skip to main content

IRecorderMethods

Trait IRecorderMethods 

Source
pub trait IRecorderMethods: IRecorder {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, ptr: impl Into<IntPtr>) { ... }
    fn finalize(self) { ... }
    fn get_is_valid(self) -> bool { ... }
    fn get_enabled(self) -> bool { ... }
    fn set_enabled(self, value: impl Into<bool>) { ... }
    fn is_enabled(self) -> bool { ... }
    fn get_elapsed_nanoseconds(self) -> i64 { ... }
    fn get_gpu_elapsed_nanoseconds(self) -> i64 { ... }
    fn get_sample_block_count(self) -> i32 { ... }
    fn get_gpu_sample_block_count(self) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, ptr: impl Into<IntPtr>)

.ctor(::unity::IntPtr) overload

Source

fn finalize(self)

Finalize() overload

Source

fn get_is_valid(self) -> bool

get_isValid() overload

Source

fn get_enabled(self) -> bool

get_enabled() overload

Source

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

set_enabled(bool) overload

Source

fn is_enabled(self) -> bool

IsEnabled() overload

Source

fn get_elapsed_nanoseconds(self) -> i64

get_elapsedNanoseconds() overload

Source

fn get_gpu_elapsed_nanoseconds(self) -> i64

get_gpuElapsedNanoseconds() overload

Source

fn get_sample_block_count(self) -> i32

get_sampleBlockCount() overload

Source

fn get_gpu_sample_block_count(self) -> i32

get_gpuSampleBlockCount() 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: IRecorder> IRecorderMethods for __T

Available on crate feature unity_engine-profiling-recorder only.