Enum syn::DelimToken [] [src]

pub enum DelimToken {
    Paren,
    Bracket,
    Brace,
}

A delimiter token

Variants

A round parenthesis: ( or )

A square bracket: [ or ]

A curly brace: { or }

Trait Implementations

impl Debug for DelimToken
[src]

Formats the value using the given formatter.

impl Copy for DelimToken
[src]

impl Clone for DelimToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for DelimToken
[src]

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 Hash for DelimToken
[src]

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

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