pub fn store<F, A, R, O>(fun: F) -> i32where
F: Fn(A) -> R + 'static,
A: Poppable,
R: IntoResult<O>,
O: Pushable,
<R as IntoResult<O>>::Error: Error + 'static,Expand description
Stores a function in the Lua registry, returning its ref.