pub struct Color(_);
Expand description
A newtype representing the color in a buffer.
It is divided into alpha (not used), red, green & blue: 0xFF000000: alpha (not used) 0x00FF0000: red 0x0000FF00: green 0x000000FF: blue
Implementations§
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