Struct syntex_syntax::ast::Ident [] [src]

pub struct Ident {
    pub name: Symbol,
    pub ctxt: SyntaxContext,
}

Fields

Methods

impl Ident
[src]

Maps a string to an identifier with an empty syntax context.

Trait Implementations

impl Display for Ident
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Ident
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Copy for Ident
[src]

impl Serialize for Ident
[src]

Serialize this value into the given Serde serializer. Read more

impl Eq for Ident
[src]

impl Hash for Ident
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<Ident> for Ident
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Ident
[src]

Formats the value using the given formatter.

impl Clone for Ident
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToTokens for Ident
[src]