pub enum ArgumentCompletions {
Ready(Option<Vec<AutocompleteItem>>),
Pending,
}Expand description
What completing a command’s argument offers: pi awaits
getArgumentCompletions, which may still be computing.
Variants§
Ready(Option<Vec<AutocompleteItem>>)
Completions; None or empty offers none.
Pending
Still being computed; the editor asks again once they are ready.
Trait Implementations§
Source§impl Clone for ArgumentCompletions
impl Clone for ArgumentCompletions
Source§impl Debug for ArgumentCompletions
impl Debug for ArgumentCompletions
impl Eq for ArgumentCompletions
Source§impl From<Option<Vec<AutocompleteItem>>> for ArgumentCompletions
impl From<Option<Vec<AutocompleteItem>>> for ArgumentCompletions
Source§fn from(items: Option<Vec<AutocompleteItem>>) -> ArgumentCompletions
fn from(items: Option<Vec<AutocompleteItem>>) -> ArgumentCompletions
Converts to this type from the input type.
Source§impl PartialEq for ArgumentCompletions
impl PartialEq for ArgumentCompletions
impl StructuralPartialEq for ArgumentCompletions
Auto Trait Implementations§
impl Freeze for ArgumentCompletions
impl RefUnwindSafe for ArgumentCompletions
impl Send for ArgumentCompletions
impl Sync for ArgumentCompletions
impl Unpin for ArgumentCompletions
impl UnsafeUnpin for ArgumentCompletions
impl UnwindSafe for ArgumentCompletions
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.