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

Merge WidgetCore into Layout; NodeMut → Node → dyn Layout #398

Merged
merged 9 commits into from
Jul 31, 2023
Merged

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Jul 30, 2023

It turns out that the (non-mut) Node does not need a data ref at all. Simplify by replacing with &dyn Layout, then rename NodeMutNode.

This also cleans up widget traits a little, reducing to just Layout, Events and Widget.

@dhardy dhardy merged commit 76445c9 into master Jul 31, 2023
5 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.

1 participant