This commit is contained in:
Stephan Dilly 2021-04-24 15:52:21 +02:00
parent d50e17b353
commit ea1415461f

View file

@ -164,6 +164,7 @@ pub trait Component {
) -> CommandBlocking;
/// returns true if event propagation needs to end (event was consumed)
//TODO: lets introduce an enum `EventState` as `enum EventState { Consumed, NotConsumed }` instead of bool
fn event(&mut self, ev: Event) -> Result<bool>;
///