Skip to main content

create_ident

Function create_ident 

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

Creates an Ident from a string.

§Arguments

  • name - The identifier name

§Example

let ident = create_ident("props");