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 more
sourceimpl 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
Performs the conversion.
sourceimpl PartialEq<CompletionList> for CompletionList
impl PartialEq<CompletionList> for CompletionList
sourcefn eq(&self, other: &CompletionList) -> bool
fn eq(&self, other: &CompletionList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CompletionList) -> bool
fn ne(&self, other: &CompletionList) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more