-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const fn for Color::from_rgba8 #77
Comments
Will take a look. Does float operations already const in Rust? |
emmm,it still not,but i think const fn is stil should be add |
It will be added when I would have time. |
I have see the source code and find it seem not easy to do it . Because from_rgba use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to have a const version of this so it is possible to create color names in an application.
The text was updated successfully, but these errors were encountered: