Struct syntax::tokenstream::Delimited[][src]

pub struct Delimited {
    pub delim: DelimToken,
    pub tts: ThinTokenStream,
}

A delimited sequence of token trees

Fields

The type of delimiter

The delimited sequence of token trees

Methods

impl Delimited
[src]

Returns the opening delimiter as a token.

Returns the closing delimiter as a token.

Returns the opening delimiter as a token tree.

Returns the closing delimiter as a token tree.

Returns the token trees inside the delimiters.

Trait Implementations

impl Clone for Delimited
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Delimited
[src]

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

This method tests for !=.

impl Encodable for Delimited
[src]

impl Decodable for Delimited
[src]

impl Debug for Delimited
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Delimited

impl !Sync for Delimited