Struct lsp::types::CompletionList [−][src]
pub struct CompletionList { pub is_incomplete: bool, pub items: Vec<CompletionItem>, }
Represents a collection of completion items to be presented in the editor.
Fields
is_incomplete: bool
This list it not complete. Further typing results in recomputing this list.
items: Vec<CompletionItem>
The completion items.
Methods
impl CompletionList
[src]
impl CompletionList
The CompletionList namespace provides functions to deal with completion lists.
pub fn create(
items: Option<Vec<CompletionItem>>,
is_incomplete: Option<bool>
) -> Self
[src]
pub fn create(
items: Option<Vec<CompletionItem>>,
is_incomplete: Option<bool>
) -> Self
Creates a new completion list.
@param items The completion items. @param isIncomplete The list is not complete.
Trait Implementations
impl Debug for CompletionList
[src]
impl Debug for CompletionList
Auto Trait Implementations
impl Send for CompletionList
impl Send for CompletionList
impl Sync for CompletionList
impl Sync for CompletionList