Typster.Native (Typster v0.7.1)
View SourceNative Implemented Functions (NIFs) for Typster.
This module provides the low-level Rust NIF interface for Typst compilation
and rendering. Most users should use the high-level Typster module instead,
which provides a more ergonomic API with better error handling.
Available NIFs
test_nif/0- Basic connectivity testcompile_to_pdf/1- Simple PDF compilationcompile_to_pdf_with_variables/2- PDF with variable bindingcompile_to_pdf_with_options/3- PDF with packagescompile_to_pdf_with_full_options/4- PDF with metadatacompile_to_svg_with_options/3- Multi-page SVGcompile_to_png_with_options/4- Multi-page PNGcheck_syntax/3- Syntax validation without rendering
Note
These functions return raw results from the Rust layer and should not be
called directly unless you need low-level control. Use the Typster module
for the recommended API.