Struct syntax::ast::Name
[−]
[src]
pub struct Name(pub u32);
Unstable
A name is a part of an identifier, representing a string or gensym. It's the result of interning.
Methods
impl Name
fn as_str<'a>(&'a self) -> &'a str
Unstable
fn usize(&self) -> usize
Unstable
fn ident(&self) -> Ident
Unstable