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

pub enum DelimToken {
    Paren,
    Bracket,
    Brace,
}

A delimiter token

Variants

Paren

A round parenthesis: ( or )

Bracket

A square bracket: [ or ]

Brace

A curly brace: { or }

Trait Implementations

Derived Implementations

impl Copy for DelimToken

impl Debug for DelimToken

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for DelimToken

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for DelimToken

impl PartialEq for DelimToken

fn eq(&self, __arg_0: &DelimToken) -> bool

fn ne(&self, __arg_0: &DelimToken) -> bool

impl Decodable for DelimToken

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<DelimToken, __D::Error>

impl Encodable for DelimToken

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Clone for DelimToken

fn clone(&self) -> DelimToken

fn clone_from(&mut self, source: &Self)