Skip to content

Should there be a Filter::lookup_mut function? #47

@museun

Description

@museun

Most of the views I have written reset most of their state per-frame, so setting a new value will get invalidated on the next frame.

But some views could totally support &mut access. This is kind of a hazy distinction and its why I've not implemented it so far.

Would there be many benefits to this function?

Ideally, state goes into the view from its builder and the view returns 'notable' state to the user from its View::update() function (via ui.show() and ui.show_children()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions