Struct languageserver_types::Color
source · Fields§
§red: f64
The red component of this color in the range [0-1].
green: f64
The green component of this color in the range [0-1].
blue: f64
The blue component of this color in the range [0-1].
alpha: f64
The alpha component of this color in the range [0-1].
Trait Implementations§
source§impl<'de> Deserialize<'de> for Color
impl<'de> Deserialize<'de> for Color
source§fn 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