Closed akesson closed 6 months ago
This adds the const keyword to the fn new(...) declaration where possible.
const
fn new(...)
This makes it possible to declare color constants:
const RED: Rgb<u8> = Rgb::new(255, 0, 0);
I've been off this project for a while given personal health issues. This looks good as do your other PRs. I'll merge them.
This adds the
const
keyword to thefn new(...)
declaration where possible.This makes it possible to declare color constants: