Skip to main content

CrossbeamEventApp

Trait CrossbeamEventApp 

Source
pub trait CrossbeamEventApp {
    // Required method
    fn add_crossbeam_event<T>(&mut self) -> &mut Self
       where T: Event,
             for<'a> <T as Event>::Trigger<'a>: Default;
}

Required Methods§

Source

fn add_crossbeam_event<T>(&mut self) -> &mut Self
where T: Event, for<'a> <T as Event>::Trigger<'a>: Default,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CrossbeamEventApp for App

Source§

fn add_crossbeam_event<T>(&mut self) -> &mut Self
where T: Event, for<'a> <T as Event>::Trigger<'a>: Default,

Implementors§