Skip to main content

IDiagnosticEventCollectorMethods

Trait IDiagnosticEventCollectorMethods 

Source
pub trait IDiagnosticEventCollectorMethods: IDiagnosticEventCollector {
    // Provided methods
    fn unregister_event_handler(
        self,
        handler: impl Into<Action_1<DiagnosticEvent>>,
    ) { ... }
    fn post_event(self, diagnostic_event: impl Into<DiagnosticEvent>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn unregister_event_handler(self, handler: impl Into<Action_1<DiagnosticEvent>>)

UnregisterEventHandler(crate::system::action_1::Action_1<crate::unity_engine::resource_management::diagnostics::diagnosticevent::DiagnosticEvent>) overload

Source

fn post_event(self, diagnostic_event: impl Into<DiagnosticEvent>)

PostEvent(crate::unity_engine::resource_management::diagnostics::diagnosticevent::DiagnosticEvent) 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: IDiagnosticEventCollector> IDiagnosticEventCollectorMethods for __T

Available on crate feature unity_engine-resource_management-diagnostics-diagnosticeventcollector only.