pub struct RoutedInput<A> {
pub action: A,
pub route: InputRoute,
}Expand description
A resolved input action and its source route.
Fields§
§action: AAction associated with the key binding.
route: InputRouteRoute that produced the action.
Trait Implementations§
Source§impl<A: Clone> Clone for RoutedInput<A>
impl<A: Clone> Clone for RoutedInput<A>
Source§fn clone(&self) -> RoutedInput<A>
fn clone(&self) -> RoutedInput<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A: Debug> Debug for RoutedInput<A>
impl<A: Debug> Debug for RoutedInput<A>
impl<A: Eq> Eq for RoutedInput<A>
Source§impl<A: PartialEq> PartialEq for RoutedInput<A>
impl<A: PartialEq> PartialEq for RoutedInput<A>
impl<A: PartialEq> StructuralPartialEq for RoutedInput<A>
Auto Trait Implementations§
impl<A> Freeze for RoutedInput<A>where
A: Freeze,
impl<A> RefUnwindSafe for RoutedInput<A>where
A: RefUnwindSafe,
impl<A> Send for RoutedInput<A>where
A: Send,
impl<A> Sync for RoutedInput<A>where
A: Sync,
impl<A> Unpin for RoutedInput<A>where
A: Unpin,
impl<A> UnsafeUnpin for RoutedInput<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for RoutedInput<A>where
A: 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