| 9 | /// - Alpha - a number between 0.0 and 100.0 |
| 10 | #[derive(Debug, Clone, Copy, PartialEq)] |
| 11 | pub struct Hwb { |
| 12 | pub hue: f32, |
| 13 | pub whiteness: f32, |
| 14 | pub blackness: f32, |
| 15 | pub alpha: f32, |
| 16 | } |
| 17 | |
| 18 | impl Hwb { |
| 19 | pub fn new(hue: f32, whiteness: f32, blackness: f32, alpha: f32) -> Self { |
no outgoing calls
no test coverage detected