• _Vi
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 年前

    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>