Enum proc_macro2::Spacing [−][src]
pub enum Spacing {
Alone,
Joint,
}Expand description
Whether an Punct is followed immediately by another Punct or followed by
another token or whitespace.
Variants
E.g. + is Alone in + =, +ident or +().
E.g. + is Joint in += or ' is Joint in '#.
Additionally, single quote ' can join with identifiers to form
lifetimes 'ident.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Spacingimpl UnwindSafe for SpacingBlanket Implementations
Mutably borrows from an owned value. Read more