Struct penrose::draw::Color [−][src]
pub struct Color { /* fields omitted */ }
Expand description
A simple RGBA based color
Implementations
Create a new Color from a hex encoded u32: 0xRRGGBB or 0xRRGGBBAA
The RGB information of this color as 0.0-1.0 range floats representing proportions of 255 for each of R, G, B
The RGBA information of this color as 0.0-1.0 range floats representing proportions of 255 for each of R, G, B, A
Render this color as a #RRGGBB hew color string
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Color
impl UnwindSafe for Color
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more