Skip to main content

IDiagnosticInfoMethods

Trait IDiagnosticInfoMethods 

Source
pub trait IDiagnosticInfoMethods: IDiagnosticInfo {
    // Provided methods
    fn create_event(
        self,
        category: impl Into<Il2CppString>,
        event_type: impl Into<ResourceManager_DiagnosticEventType>,
        frame: impl Into<i32>,
        val: impl Into<i32>,
    ) -> DiagnosticEvent { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn create_event( self, category: impl Into<Il2CppString>, event_type: impl Into<ResourceManager_DiagnosticEventType>, frame: impl Into<i32>, val: impl Into<i32>, ) -> DiagnosticEvent

CreateEvent(::unity::Il2CppString, crate::unity_engine::resource_management::resourcemanager::ResourceManager_DiagnosticEventType, i32, i32) 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: IDiagnosticInfo> IDiagnosticInfoMethods for __T

Available on crate feature unity_engine-addressable_assets-utility-diagnosticinfo only.