Struct syntax::ast::Ident [] [src]

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

Fields

Methods

impl Ident
[src]

[src]

[src]

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

[src]

[src]

Trait Implementations

impl Display for Ident
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Ident
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Decodable for Ident
[src]

[src]

impl Copy for Ident
[src]

impl Hash for Ident
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq<Ident> for Ident
[src]

[src]

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

[src]

This method tests for !=.

impl Encodable for Ident
[src]

[src]

impl Debug for Ident
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Ident
[src]

impl ToTokens for Ident
[src]

Important traits for Vec<u8>
[src]

Auto Trait Implementations

impl !Send for Ident

impl !Sync for Ident