Skip to main content

Module column

Module column 

Source
Expand description

Interior mutable column of the arena.

The arena follows the shared mutable model of the typescript implementation: the columns are read and written through &self (visitors written in javascript re-enter the arena while a transformation runs). A column is a Vec in an UnsafeCell. Soundness: no reference into the vector ever escapes these methods (values are copied in and out), and the arena is !Sync (single threaded), so a growth never invalidates a live borrow.

Structsยง

Column