pub enum Input<M> {
Key(Key),
Event(Event),
Msg(M, Event),
}Expand description
What Session::next returns.
Variants§
Key(Key)
A key press or a paste.
Event(Event)
An event no handler took.
Msg(M, Event)
The message of the handler an event was routed to, with the event.
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for Input<M>where
M: Freeze,
impl<M> RefUnwindSafe for Input<M>where
M: RefUnwindSafe,
impl<M> Send for Input<M>where
M: Send,
impl<M> Sync for Input<M>where
M: Sync,
impl<M> Unpin for Input<M>where
M: Unpin,
impl<M> UnsafeUnpin for Input<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for Input<M>where
M: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more