[−][src]Trait amethyst_ui::EventReceiver
Describes anything that can receive events one by one or in batches. This
lets whoever wants to receive triggered events decide on how they
want to receive them, instead of forcing them to construct certain
data structures such as a Vec
.
Required methods
fn receive_one(&mut self, value: &T)
Receive a single event
fn receive(&mut self, values: &[T])
Receive an iterator over several events
Implementations on Foreign Types
impl<T> EventReceiver<T> for EventChannel<T> where
T: Clone + Event,
[src]
Loading content...
T: Clone + Event,