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

Add Access::modify #25

Open
fwcd opened this issue Sep 7, 2024 · 0 comments
Open

Add Access::modify #25

fwcd opened this issue Sep 7, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@fwcd
Copy link
Owner

fwcd commented Sep 7, 2024

For modifying state and bindings, it would be convenient to have a modify method that combines both getter and setter into a (T) -> T or a (&mut T) -> (). We might have to figure out which one is more useful/common or perhaps provide both, in any case we'd want them to be default methods in Access.

@fwcd fwcd added enhancement New feature or request good first issue Good for newcomers labels Sep 7, 2024
@fwcd fwcd pinned this issue Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant