Skip to main content

set_thread_local

Function set_thread_local 

Source
pub fn set_thread_local(var: &GcPtr<Var>, val: Value) -> bool
Expand description

Set the innermost thread-local binding for var. Returns false if no thread-local binding exists (caller should fall back to setting the root).