pub enum InputRoute {
Captured(InputScope),
Focus(FocusId),
Global,
}Expand description
Where a routed action was resolved.
Variants§
Captured(InputScope)
A captured scope handled the key.
Focus(FocusId)
The currently focused component handled the key.
Global
The global keymap handled the key.
Trait Implementations§
Source§impl Clone for InputRoute
impl Clone for InputRoute
Source§fn clone(&self) -> InputRoute
fn clone(&self) -> InputRoute
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 Debug for InputRoute
impl Debug for InputRoute
impl Eq for InputRoute
Source§impl PartialEq for InputRoute
impl PartialEq for InputRoute
impl StructuralPartialEq for InputRoute
Auto Trait Implementations§
impl Freeze for InputRoute
impl RefUnwindSafe for InputRoute
impl Send for InputRoute
impl Sync for InputRoute
impl Unpin for InputRoute
impl UnsafeUnpin for InputRoute
impl UnwindSafe for InputRoute
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