Enum proc_macro::Spacing
[−]
[src]
pub enum Spacing { Alone, Joint, }
Whether an Op
is either followed immediately by another Op
or followed by whitespace.
Variants
Alone
e.g. +
is Alone
in + =
.
Joint
e.g. +
is Joint
in +=
.
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
impl PartialEq for Spacing
[src]
fn eq(&self, __arg_0: &Spacing) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.