Struct languageserver_types::ColorPresentationParams [−][src]
pub struct ColorPresentationParams { pub text_document: TextDocumentIdentifier, pub color: Color, pub range: Range, }
Fields
text_document: TextDocumentIdentifier
The text document.
color: Color
The color information to request presentations for.
range: Range
The range where the color would be inserted. Serves as a context.
Trait Implementations
impl Debug for ColorPresentationParams
[src]
impl Debug for ColorPresentationParams
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 PartialEq for ColorPresentationParams
[src]
impl PartialEq for ColorPresentationParams
fn eq(&self, other: &ColorPresentationParams) -> bool
[src]
fn eq(&self, other: &ColorPresentationParams) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ColorPresentationParams) -> bool
[src]
fn ne(&self, other: &ColorPresentationParams) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ColorPresentationParams
impl Send for ColorPresentationParams
impl Sync for ColorPresentationParams
impl Sync for ColorPresentationParams