Skip to content

Add Access::modify #25

@fwcd

Description

@fwcd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions