Enum syntax::parse::token::DelimToken [] [src]

pub enum DelimToken {
    Paren,
    Bracket,
    Brace,
    NoDelim,
}
🔬 This is a nightly-only experimental API. (rustc_private)

A delimiter token

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

A round parenthesis: ( or )

🔬 This is a nightly-only experimental API. (rustc_private)

A square bracket: [ or ]

🔬 This is a nightly-only experimental API. (rustc_private)

A curly brace: { or }

🔬 This is a nightly-only experimental API. (rustc_private)

An empty delimiter

Methods

impl DelimToken
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Clone for DelimToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for DelimToken
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for DelimToken
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl PartialEq for DelimToken
[src]

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

This method tests for !=.

impl Eq for DelimToken
[src]

impl Hash for DelimToken
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for DelimToken
[src]

Formats the value using the given formatter.

impl Copy for DelimToken
[src]