pub enum Input<C, E> {
Command(C),
Event(E),
}Expand description
A type of input - commands or events.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<C, E> Freeze for Input<C, E>
impl<C, E> RefUnwindSafe for Input<C, E>where
C: RefUnwindSafe,
E: RefUnwindSafe,
impl<C, E> Send for Input<C, E>
impl<C, E> Sync for Input<C, E>
impl<C, E> Unpin for Input<C, E>
impl<C, E> UnwindSafe for Input<C, E>where
C: UnwindSafe,
E: 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