Skip to main content

Closure

Type Alias Closure 

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

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

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

Aliased Typeยง

pub struct Closure<T> { /* private fields */ }