[−][src]Trait sigs_slots::Slot
Generic slot trait to be implemented by the object consuming the signals
Required methods
fn consume(&mut self, event: &Event<T>)
Consumes the event emitted by the signal(s) this slot is connected to
Arguments
- 'event' - the event this slot is consuming