A typed presentation contract with one render operation.
Signature
Querying Render implementers is language behavior. Rendering remains an adapter responsibility; declaring this trait never schedules an automatic render call.
Methods
Examples
Implement a render operation
The trait only checks the method contract.
main.kj
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
rendered
Rust definition
Trait declaration checked by the interpreter; graphics handles remain host-owned.
View Rust documentation →Support: runtime