Skip to main content

Module native

Module native 

Source
Expand description

Bounded Rust script guest operating directly on a borrowed Blitz document.

Source is parsed into retained syntax trees. Embedder resources cross the typed bridge; no source strings are synthesized for host operations.

Modules§

syntax

Structs§

Environment
Error
Function
Guest
A persistent realm with bounded script entry and typed embedder bindings.
GuestHost
A statically typed owner used by the document runtime driver.
HostJob
A rooted, already parsed callback ready for execution on its owning realm.
Object
Property

Enums§

Value

Traits§

NativeStorageBridge
Explicit typed-storage contract for embedders that own persistent storage. The document runtime never guesses at storage through a stringly bridge call.
RuntimeBridge
Embedder-owned resources used by one guest and its live document.

Type Aliases§

Env
Result