pub enum InputOwner {
Pending,
HoverCard,
BlameCard,
Picker,
UndoBrowser,
Document,
}Expand description
Who consumes the next key. Priority is fixed by input_owner’s
evaluation order: pending fields, pickers, transient cards, document.
A late hover/blame reply never steals a modal field’s input or paint.
Variants§
Pending
A live : / ? | line.
HoverCard
The LSP hover card — a transient overlay.
BlameCard
The blame card or its in-flight request — a transient overlay.
Picker
An open picker (its fields are their own modal input).
UndoBrowser
The undo-tree browser.
Document
The document itself: mode dispatch (insert/visual/normal).
Trait Implementations§
Source§impl Clone for InputOwner
impl Clone for InputOwner
Source§fn clone(&self) -> InputOwner
fn clone(&self) -> InputOwner
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 InputOwner
Source§impl Debug for InputOwner
impl Debug for InputOwner
impl Eq for InputOwner
Source§impl PartialEq for InputOwner
impl PartialEq for InputOwner
impl StructuralPartialEq for InputOwner
Auto Trait Implementations§
impl Freeze for InputOwner
impl RefUnwindSafe for InputOwner
impl Send for InputOwner
impl Sync for InputOwner
impl Unpin for InputOwner
impl UnsafeUnpin for InputOwner
impl UnwindSafe for InputOwner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.