intern!() { /* proc-macro */ }
Expand description
Interns a string For example:
let string_number: u32 = intern!(“my string”);
will store “my string” in the interned string db at compile time and return the index of the string.
intern!() { /* proc-macro */ }
Interns a string For example:
let string_number: u32 = intern!(“my string”);
will store “my string” in the interned string db at compile time and return the index of the string.