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>

Object Safety§

This trait is not object safe.

Implementors§