vector_common::internal_event

Trait RegisterInternalEvent

Source
pub trait RegisterInternalEvent: Sized {
    type Handle: InternalEventHandle;

    // Required method
    fn register(self) -> Self::Handle;

    // Provided method
    fn name(&self) -> Option<&'static str> { ... }
}

Required Associated Types§

Required Methods§

Source

fn register(self) -> Self::Handle

Provided Methods§

Source

fn name(&self) -> Option<&'static str>

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§