Skip to main content

intern

Function intern 

Source
pub fn intern(name: &str) -> Id
Expand description

The id of name, adding it to the table if it is new.

Panics only if the table is exhausted, which needs four billion distinct names in one process.