pub fn freeze(
storage: &Rc<VectorStorage>,
span: Span,
) -> Result<Value, RuntimeError>Expand description
Consumes uniquely owned vector storage and returns its elements as an
Array in O(1).
Uniqueness is the runtime form of the Language Card’s local uniqueness check: the caller must hold the only handle to this storage.