swc_ecma_ast

Function fast_id_from_ident

source
pub unsafe fn fast_id_from_ident(id: &Ident) -> FastId
Expand description

This is extremely unsafe so don’t use it unless you know what you are doing.

§Safety

See FastAtom::new for constraints.

Currently, it’s considered as a unstable API and may be changed in the future without a semver bump.