• _Vi@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Maybe optional actions (fn action_var(&amp;mut self, var: &amp; Var) -> Option<var>) can be take argument by value if you roundtrip it back?

    fn action_var(&amp;mut self, var: Var) -> Var</var>