Macro glib::closure_local
source · [−]closure_local!() { /* proc-macro */ }
Expand description
The same as closure!
but uses Closure::new_local
as a constructor.
This is useful for closures which can’t be sent across threads. See the documentation of
closure!
for details.