Struct lsp::types::ColorInformation[][src]

pub struct ColorInformation {
    pub range: Range,
    pub color: Color,
}

Represents a color range from a document.

Fields

The range in the document where this color appers.

The actual color value for this color range.

Methods

impl ColorInformation
[src]

The ColorInformation namespace provides helper functions to work with ColorInformation literals.

Creates a new ColorInformation literal.

Trait Implementations

impl Debug for ColorInformation
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations