Struct proc_macro::Term
[−]
[src]
pub struct Term(_);
An interned string.
Methods
impl Term
[src]
pub fn intern(string: &str) -> Term
[src][−]
Intern a string into a Term
.
pub fn as_str(&self) -> &str
[src][−]
Get a reference to the interned string.
Trait Implementations
impl Copy for Term
[src]
impl Clone for Term
[src]
fn clone(&self) -> Term
[src][−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
Performs copy-assignment from source
. Read more