1 2 3 4 5 6 7 8
#[derive(Debug, Clone, Default)] #[repr(C)] pub struct Color<Value> { pub red: Value, pub green: Value, pub blue: Value, }