with_scope

Function with_scope 

Source
pub fn with_scope<T>(scope: Scope, f: impl FnOnce() -> T) -> T
where T: 'static,
👎Deprecated since 0.2.0: Use Scope::enter instead; this will be removed in a future release
Expand description

Runs the given code with the given Scope