Crate kgdata

Source

Modules§

conversions
db
error
mapreduce
models
pyo3helper
python

Macros§

pylist
Generating a temporary iterator over an array that allow random access at O(1) cost once the iterator is still valid.
pymap
Generating a temporary map view of a Rust’s map and an python object that owned the Rust’s map. The two structs allows random access at O(1) cost.
pymirror
Generating a Python’s twin of a Rust’s type where each property of the Rust’s type is now a Python object to avoid conversion overhead.
pyset
Generating a temporary set view of a Rust’s set. This view allows random access at O(1) cost.
pyview
Generating a temporary view of a Rust’s type, properties accessed in Python will trigger a conversion.
pywrap
Generating a Python wrapper of a Rust’s type, properties accessed in Python will trigger a conversion. Different from view, this wrapper owns the data.

Functions§

init_env_logger