Enum proc_macro::Spacing[][src]

pub enum Spacing {
    Alone,
    Joint,
}
🔬 This is a nightly-only experimental API. (proc_macro #38356)

Whether an Punct is followed immediately by another Punct or followed by another token or whitespace.

Variants

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

E.g. + is Alone in + =, +ident or +().

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

E.g. + is Joint in += or '#. Additionally, single quote ' can join with identifiers to form lifetimes 'ident.

Trait Implementations

impl Copy for Spacing
[src]

impl Clone for Spacing
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Spacing
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Spacing
[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 Spacing
[src]

Auto Trait Implementations

impl Send for Spacing

impl Sync for Spacing