Skip to main content

IDiagnosticEventCollectorSingletonMethods

Trait IDiagnosticEventCollectorSingletonMethods 

Source
pub trait IDiagnosticEventCollectorSingletonMethods: IDiagnosticEventCollectorSingleton {
    // Provided methods
    fn get_game_object_name(self) -> Il2CppString { ... }
    fn register_event_handler_2(
        self,
        handler: impl Into<Action_1<DiagnosticEvent>>,
    ) { ... }
    fn unregister_event_handler(
        self,
        handler: impl Into<Action_1<DiagnosticEvent>>,
    ) { ... }
    fn post_event(self, diagnostic_event: impl Into<DiagnosticEvent>) { ... }
    fn awake(self) { ... }
    fn update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_game_object_name(self) -> Il2CppString

GetGameObjectName() overload

Source

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

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

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 awake(self)

Awake() overload

Source

fn update(self)

Update() 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: IDiagnosticEventCollectorSingleton> IDiagnosticEventCollectorSingletonMethods for __T

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