Generates Rustler NIF exports, NifStruct declarations, and raw NIF_TERM builders.
Most helpers in this module use RustQ AST. The raw NIF_TERM builders are an
explicit low-level Rustler escape boundary for unsafe wrapper APIs; prefer
RustQ.Rustler.Term helpers when normal Term<'a> values are available.
Summary
Types
Functions
@spec export( atom() | String.t(), keyword() ) :: RustQ.Rust.Function.t()
@spec exports([spec()]) :: [RustQ.Rust.Function.t()]
@spec exports_from_source(Path.t(), [spec()], keyword()) :: [RustQ.Rust.Function.t()]
@spec stubs_from_functions( [RustQ.Syn.Function.t() | RustQ.Rust.AST.Function.t() | {term(), term()}], module() ) :: String.t()
@spec term_builders(keyword()) :: [RustQ.Rust.Fragment.t()]