Visible text content represented as a host UI schema.
Signature
Text is a declarative value only: layout, fonts, glyph shaping, and drawing remain host responsibilities. Constructing it never performs text rendering by itself.
Fields
Examples
Create text
Construction records content but does not itself draw it.
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
hello
Rust definition
Interpreter RecordValue schema; text layout and drawing are host responsibilities.
View Rust documentation →Support: host UI