Enum gui::ChainEvent
source · pub enum ChainEvent<E> {
Event(E),
Chain(E, Box<ChainEvent<E>>),
}
Expand description
An event potentially comprising multiple event objects.
Variants
Event(E)
An arbitrary event.
Chain(E, Box<ChainEvent<E>>)
A chain of events.
The events will be processed in the order they are chained.
Implementations
sourceimpl<E> ChainEvent<E>
impl<E> ChainEvent<E>
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for ChainEvent<E>where
E: RefUnwindSafe,
impl<E> Send for ChainEvent<E>where
E: Send,
impl<E> Sync for ChainEvent<E>where
E: Sync,
impl<E> Unpin for ChainEvent<E>where
E: Unpin,
impl<E> UnwindSafe for ChainEvent<E>where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more