| 37 | |
| 38 | #[derive(Clone, Copy, Debug)] |
| 39 | pub struct Scalar { |
| 40 | pub v0: u8, // Blue |
| 41 | pub v1: u8, // Green |
| 42 | pub v2: u8, // Red |
| 43 | } |
| 44 | |
| 45 | impl Scalar { |
| 46 | pub fn new(b: u8, g: u8, r: u8) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected