Struct lsp_types::CompletionList
source · pub struct CompletionList {
pub is_incomplete: bool,
pub items: Vec<CompletionItem>,
}
Expand description
Represents a collection of completion items to be presented in the editor.
Fields§
§is_incomplete: bool
This list it not complete. Further typing should result in recomputing this list.
items: Vec<CompletionItem>
The completion items.
Trait Implementations§
source§impl Clone for CompletionList
impl Clone for CompletionList
source§fn clone(&self) -> CompletionList
fn clone(&self) -> CompletionList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompletionList
impl Debug for CompletionList
source§impl Default for CompletionList
impl Default for CompletionList
source§fn default() -> CompletionList
fn default() -> CompletionList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompletionList
impl<'de> Deserialize<'de> for CompletionList
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
source§impl From<CompletionList> for CompletionResponse
impl From<CompletionList> for CompletionResponse
source§fn from(list: CompletionList) -> Self
fn from(list: CompletionList) -> Self
Converts to this type from the input type.
source§impl PartialEq for CompletionList
impl PartialEq for CompletionList
source§impl Serialize for CompletionList
impl Serialize for CompletionList
impl StructuralPartialEq for CompletionList
Auto Trait Implementations§
impl Freeze for CompletionList
impl RefUnwindSafe for CompletionList
impl Send for CompletionList
impl Sync for CompletionList
impl Unpin for CompletionList
impl UnwindSafe for CompletionList
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)