Function syntex_syntax::parse::token::str_to_ident   
                   
                       [−]
                   
               [src]
pub fn str_to_ident(s: &str) -> Ident
Maps a string to an identifier with an empty syntax context.