Struct languageserver_types::CodeActionContext [−][src]
pub struct CodeActionContext { pub diagnostics: Vec<Diagnostic>, }
Contains additional diagnostic information about the context in which a code action is run.
Fields
diagnostics: Vec<Diagnostic>
An array of diagnostics.
Trait Implementations
impl Debug for CodeActionContext
[src]
impl Debug for CodeActionContext
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CodeActionContext
[src]
impl Eq for CodeActionContext
impl PartialEq for CodeActionContext
[src]
impl PartialEq for CodeActionContext
fn eq(&self, other: &CodeActionContext) -> bool
[src]
fn eq(&self, other: &CodeActionContext) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CodeActionContext) -> bool
[src]
fn ne(&self, other: &CodeActionContext) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CodeActionContext
impl Send for CodeActionContext
impl Sync for CodeActionContext
impl Sync for CodeActionContext