Crate nvim_oxi_types

Source
Expand description

Rust bindings to the C types used by Neovim’s API.

Modules§

conversion
Traits for converting between Neovim Objects and Rust types.
iter
Iterators over Arrays and Dictionarys.

Macros§

string
Same as format! but creates an nvim_oxi::String.

Structs§

Arena
A memory arena that is passed to the C API for allocation.
Array
A vector of Neovim Objects.
Dictionary
A vector of Neovim (String, Object) pairs.
Error
Binding to the error type used by Neovim.
Function
A wrapper around a Lua reference to a function stored in the Lua registry.
KeyValuePair
A key-value pair mapping a String to an Object.
NonOwning
A non-owning value for lifetime 'a.
NvimStr
A borrowed version of NvimString.
Object
Binding to a Neovim object.
String
Binding to the string type used by Neovim.
StringBuilder
A builder that can be used to efficiently build nvim_oxi::Strings.

Enums§

ArrayFromTupleError
The error type returned when trying to convert an Array into a tuple.
ObjectKind
Specifies the kind of a Neovim Object.