Struct syntax::ext::tt::quoted::Delimited[][src]

pub struct Delimited {
    pub delim: DelimToken,
    pub tts: Vec<TokenTree>,
}

Contains the sub-token-trees of a "delimited" token tree, such as the contents of (. Note that the delimiter itself might be NoDelim.

Fields

Methods

impl Delimited
[src]

Return the opening delimiter (possibly NoDelim).

Return the closing delimiter (possibly NoDelim).

Return a self::TokenTree with a Span corresponding to the opening delimiter.

Return a self::TokenTree with a Span corresponding to the closing delimiter.

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 Eq for Delimited
[src]

impl Encodable for Delimited
[src]

impl Decodable for Delimited
[src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Delimited

impl !Sync for Delimited