wasm_bindgen_backend::util

Function rust_ident

Source
pub fn rust_ident(name: &str) -> Ident
Expand description

Create an Ident, possibly mangling it if it conflicts with a Rust keyword.