fwcd / fwcd/nuit

Add `Access::modify`

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.