Skip to main content

Module text_table

Module text_table 

Source

Structs§

TextId
TextInfo
TextTable
TextTableSnapshot
Snapshot of the calling thread’s text_table. Cheap to pass between threads — TextInfo payloads are Arc-shared.

Functions§

drop
export_tables
get
get_current_text
import_tables
insert_with_id
Inserts a text entry under a caller-provided (reserved) ID without touching current_text. Used by fragment restore.
new_text_id
peek_text_id
Returns the last issued text ID value. Used to delimit per-file ID windows for fragment caching.
reserve_text_ids
Reserves count consecutive text IDs and returns the value the counter had before the reservation. The reserved IDs are base+1..=base+count.
set_current_text