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

pub enum DelimToken {
    Paren,
    Bracket,
    Brace,
    NoDelim,
}

A delimiter token

Variants

A round parenthesis: ( or )

A square bracket: [ or ]

A curly brace: { or }

An empty delimiter

Methods

impl DelimToken
[src]

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]

impl Decodable 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 Eq for DelimToken
[src]

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

impl Debug for DelimToken
[src]

Formats the value using the given formatter. Read more

impl Copy for DelimToken
[src]

Auto Trait Implementations

impl Send for DelimToken

impl Sync for DelimToken