Module lua

Source
Expand description

Low-level Rust bindings to LuaJIT, the Lua version used by Neovim.

Modules§

ffi
function
macros
utils

Macros§

cstr
dbg
Same as std::dbg! but writes to the Neovim message area instead of stdout.
print
Same as std::print! but writes to the Neovim message area instead of stdout.

Enums§

Error

Traits§

IntoResult
A trait for types that can be converted into a Result.
Poppable
Trait implemented for types that can be popped off the Lua stack.
Pushable
Trait implemented for types that can be pushed onto the Lua stack.

Functions§

init
Initializes the Lua state.
with_state
Executes a function with access to the Lua state.