You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happy to write the PR for this, but is there any chance you'd consider allowing adding Closures to the function map.
I used this all the time in Go, and now in rust I'd really like to.
Maybe another function
pubenumMapFunc{Closure(Box<Fn(&[Value])->Result<Value,String>),Static(fn(&[Value]->Result<Value,String>),}//Then add the functionimplTemplate{
add_closure(f:Box<Fn(&[Value])->Result<Value,String>{///...}}
The text was updated successfully, but these errors were encountered:
Happy to write the PR for this, but is there any chance you'd consider allowing adding Closures to the function map.
I used this all the time in Go, and now in rust I'd really like to.
Maybe another function
The text was updated successfully, but these errors were encountered: