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
sourceimpl Clone for CompletionList
impl Clone for CompletionList
sourcefn clone(&self) -> CompletionList
fn clone(&self) -> CompletionList
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CompletionList
impl Debug for CompletionList
sourceimpl Default for CompletionList
impl Default for CompletionList
sourcefn default() -> CompletionList
fn default() -> CompletionList
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CompletionList
impl<'de> Deserialize<'de> for CompletionList
sourcefn 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
sourceimpl From<CompletionList> for CompletionResponse
impl From<CompletionList> for CompletionResponse
sourcefn from(list: CompletionList) -> Self
fn from(list: CompletionList) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CompletionList> for CompletionList
impl PartialEq<CompletionList> for CompletionList
sourcefn eq(&self, other: &CompletionList) -> bool
fn eq(&self, other: &CompletionList) -> bool
sourceimpl Serialize for CompletionList
impl Serialize for CompletionList
impl StructuralPartialEq for CompletionList
Auto Trait Implementations
impl RefUnwindSafe for CompletionList
impl Send for CompletionList
impl Sync for CompletionList
impl Unpin for CompletionList
impl UnwindSafe for CompletionList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more