Type Alias Closure

pub type Closure<T> = ScopedClosure<'static, T>;

Alias for [ScopedClosure<'static, T>] for backwards compatibility.

In a future major version, Closure will become ScopedClosure<'a, T> with a lifetime parameter.