Enum proc_macro::Spacing 1.29.0[−][src]
pub enum Spacing {
Alone,
Joint,
}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 '#.
Additionally, single quote ' can join with identifiers to form lifetimes 'ident.
Trait Implementations
impl StructuralEq for Spacing[src]
impl StructuralEq for Spacing[src]impl StructuralPartialEq for Spacing[src]
impl StructuralPartialEq for Spacing[src]Auto Trait Implementations
impl RefUnwindSafe for Spacing
impl RefUnwindSafe for Spacingimpl UnwindSafe for Spacing
impl UnwindSafe for Spacing