Struct lsp::types::Color[][src]

pub struct Color {
    pub red: f64,
    pub green: f64,
    pub blue: f64,
    pub alpha: f64,
}

Represents a color in RGBA space.

Fields

The red component of this color in the range [0-1].

The green component of this color in the range [0-1].

The blue component of this color in the range [0-1].

The alpha component of this color in the range [0-1].

Methods

impl Color
[src]

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

Creates a new Color literal.

Trait Implementations

impl Debug for Color
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Color

impl Sync for Color