Add `Access::modify`
Open
enhancement
good first issue
- Dominant language
- Rust
- Stars
- 80
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
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`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.