pub enum InputCaptureMode {
Exclusive,
Passthrough,
}Expand description
How a captured scope behaves when it does not handle a key.
Variants§
Exclusive
Stop routing when the captured scope does not handle the key.
Passthrough
Continue routing to older captures, focused bindings, and globals.
Trait Implementations§
Source§impl Clone for InputCaptureMode
impl Clone for InputCaptureMode
Source§fn clone(&self) -> InputCaptureMode
fn clone(&self) -> InputCaptureMode
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 moreimpl Copy for InputCaptureMode
Source§impl Debug for InputCaptureMode
impl Debug for InputCaptureMode
impl Eq for InputCaptureMode
Source§impl PartialEq for InputCaptureMode
impl PartialEq for InputCaptureMode
impl StructuralPartialEq for InputCaptureMode
Auto Trait Implementations§
impl Freeze for InputCaptureMode
impl RefUnwindSafe for InputCaptureMode
impl Send for InputCaptureMode
impl Sync for InputCaptureMode
impl Unpin for InputCaptureMode
impl UnsafeUnpin for InputCaptureMode
impl UnwindSafe for InputCaptureMode
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