pub enum CompletionState {
Closed,
Open(PopupList),
DismissedUntilBoundary,
}Expand description
The popup’s open/closed/dismissed state.
Variants§
Closed
No popup.
Open(PopupList)
A popup is showing PopupList.
DismissedUntilBoundary
Dismissed by Escape and sticky until a word boundary: word chars extending the same word do NOT reopen the popup; a word boundary (or any non-word input) restores normal rules.
Auto Trait Implementations§
impl Freeze for CompletionState
impl RefUnwindSafe for CompletionState
impl Send for CompletionState
impl Sync for CompletionState
impl Unpin for CompletionState
impl UnsafeUnpin for CompletionState
impl UnwindSafe for CompletionState
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