Skip to main content

Module cow_ident

Module cow_ident 

Source
Expand description

Memory-efficient identifier representation using Cow

Allows identifiers to be either borrowed from source (&str) or owned (String), reducing allocations when parsing from a string that outlives the AST.

Structsยง

CowIdent
Identifier that can be borrowed or owned (memory-efficient)