pub trait EventHandlerChainExt<E>: EventHandler<E> + Sized {
// Provided method
fn chain<H>(self, other: H) -> HandlerChain<Self, H>
where H: EventHandler<E> { ... }
}Expand description
Extension trait for chaining event handlers together.
Provided Methods§
Sourcefn chain<H>(self, other: H) -> HandlerChain<Self, H>where
H: EventHandler<E>,
fn chain<H>(self, other: H) -> HandlerChain<Self, H>where
H: EventHandler<E>,
Chain this handler with another handler, invoking both in order.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".