pub enum InputScope {
Focus(FocusId),
Named(String),
}Expand description
A namespace for input bindings outside the global keymap.
Variants§
Focus(FocusId)
Bindings owned by a focusable component.
Named(String)
Bindings owned by an overlay, modal, mode, or named tool surface.
Implementations§
Trait Implementations§
Source§impl Clone for InputScope
impl Clone for InputScope
Source§fn clone(&self) -> InputScope
fn clone(&self) -> InputScope
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 InputScope
impl Debug for InputScope
impl Eq for InputScope
Source§impl From<&str> for InputScope
impl From<&str> for InputScope
Source§impl From<String> for InputScope
impl From<String> for InputScope
Source§impl From<u32> for InputScope
impl From<u32> for InputScope
Source§impl Hash for InputScope
impl Hash for InputScope
Source§impl PartialEq for InputScope
impl PartialEq for InputScope
impl StructuralPartialEq for InputScope
Auto Trait Implementations§
impl Freeze for InputScope
impl RefUnwindSafe for InputScope
impl Send for InputScope
impl Sync for InputScope
impl Unpin for InputScope
impl UnsafeUnpin for InputScope
impl UnwindSafe for InputScope
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