Function tuples::capt::capt_once_0

source ·
pub fn capt_once_0<T, R, F: FnOnce(T) -> R>(v: T, f: F) -> impl FnOnce() -> R
Expand description

Manually capture the variables required by the closure