Skip to content
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

Convert Color into a struct #862

Merged
merged 3 commits into from
Jul 22, 2022
Merged

Convert Color into a struct #862

merged 3 commits into from
Jul 22, 2022

Conversation

hannobraun
Copy link
Owner

Also update the kernel to use the new Color struct throughout. This improves type safety and allows for implementing the Default trait for Color.

This improves type safety, and allows for methods and traits to be
implemented on it.
@hannobraun hannobraun enabled auto-merge July 22, 2022 10:47
@hannobraun hannobraun merged commit 4223915 into main Jul 22, 2022
@hannobraun hannobraun deleted the color branch July 22, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant