minilua::details::FunctionImpl struct

Contents

The implementation of a lua function.

This is a bit more ergonomic than creating a lambda.

Public variables

Env env

Variable documentation

Env minilua::details::FunctionImpl::env

Store a copy of the environment to correctly capture the local variables that are accessible when creating the function.