Skip to content

Default Impls for Optional Methods#507

Draft
jenr-dev wants to merge 2 commits intoSmithay:masterfrom
jenr-dev:jenr-dev/default-impls
Draft

Default Impls for Optional Methods#507
jenr-dev wants to merge 2 commits intoSmithay:masterfrom
jenr-dev:jenr-dev/default-impls

Conversation

@jenr-dev
Copy link

I was working through the examples, and I noticed that some of the trait methods on OutputHandler and CompositorHandler were left as no-ops. This adds a default no-op implementation to those trait methods to reduce boilerplate when they're not needed!

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