Crate swc_atoms

Source
Expand description

See Atom and UnsafeAtom

Modules§

wtf8
Implementation of the WTF-8 encoding.

Macros§

atom
Creates an Atom from a constant.
lazy_atom
Creates an Atom from a constant.

Structs§

Atom
Clone-on-write string.
AtomStore
AtomStoreCell
A fast internally mutable cell for AtomStore.
UnsafeAtom
UnsafeAtom is a wrapper around Atom that does not allocate, but extremely unsafe.
Wtf8Atom
Clone-on-write WTF-8 string.

Type Aliases§

StaticString
This should be used as a key for hash maps and hash sets.