pub enum Typing {
Auto,
Always,
UnlessTyping,
}Expand description
Whether a binding fires while a text input has the focus.
Variants§
Auto
always for shortcuts with Ctrl, Alt or Meta, for function keys
and for bindings whose clause tests textInputFocus;
unless-typing for the other keys, which type or edit text.
Always
Fires even while typing, and before a focused widget that reads
the key itself (CONTEXT_WIDGET_KEYS).
UnlessTyping
Left to the text input while one has the focus (and, global, to a focused widget that reads the key).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Typing
impl<'de> Deserialize<'de> for Typing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Typing
impl Eq for Typing
impl StructuralPartialEq for Typing
Auto Trait Implementations§
impl Freeze for Typing
impl RefUnwindSafe for Typing
impl Send for Typing
impl Sync for Typing
impl Unpin for Typing
impl UnsafeUnpin for Typing
impl UnwindSafe for Typing
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