Enum rustc_ap_proc_macro::Delimiter [] [src]

pub enum Delimiter {
    Parenthesis,
    Brace,
    Bracket,
    None,
}
🔬 This is a nightly-only experimental API. (proc_macro #38356)

Describes how a sequence of token trees is delimited.

Variants

🔬 This is a nightly-only experimental API. (proc_macro #38356)

( ... )

🔬 This is a nightly-only experimental API. (proc_macro #38356)

{ ... }

🔬 This is a nightly-only experimental API. (proc_macro #38356)

[ ... ]

🔬 This is a nightly-only experimental API. (proc_macro #38356)

An implicit delimiter, e.g. $var, where $var is ....

Trait Implementations

impl Copy for Delimiter
[src]

impl Clone for Delimiter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Delimiter
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Delimiter
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Delimiter
[src]

Auto Trait Implementations

impl Send for Delimiter

impl Sync for Delimiter