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