Enum proc_macro2::Spacing
[−]
[src]
pub enum Spacing {
Alone,
Joint,
}Whether an Punct is followed immediately by another Punct or followed by
another token or whitespace.
Variants
AloneE.g. + is Alone in + =, +ident or +().
JointE.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]
fn clone(&self) -> Spacing[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Spacing[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more