Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Implement Default for pure::State #1298

Merged
merged 2 commits into from
Mar 31, 2022
Merged

Implement Default for pure::State #1298

merged 2 commits into from
Mar 31, 2022

Conversation

0x192
Copy link
Contributor

@0x192 0x192 commented Mar 29, 2022

Allow to use a pure::State in a struct deriving Default

This PR set default to pure::State::new()

Impure Applications using pure widgets can now use a struct implementing `Default`
@hecrj hecrj added this to the 0.4.0 milestone Mar 31, 2022
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An internal improvement widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants