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

Encode RenderOp as a sealed trait #15

Merged
merged 2 commits into from
Jul 8, 2023
Merged

Encode RenderOp as a sealed trait #15

merged 2 commits into from
Jul 8, 2023

Conversation

JD557
Copy link
Owner

@JD557 JD557 commented Jul 8, 2023

Encodes RenderOp as a sealed trait instead of an enum.

This allows for slightly better type inference, and to write some code that applies to all render ops.

@JD557 JD557 added this to the 0.1.1 milestone Jul 8, 2023
@JD557 JD557 merged commit efbd6a8 into master Jul 8, 2023
8 checks passed
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.

None yet

1 participant