pub enum IncrementOrDecrement {
Increment,
Decrement,
}
Variants§
Trait Implementations§
source§impl Clone for IncrementOrDecrement
impl Clone for IncrementOrDecrement
source§fn clone(&self) -> IncrementOrDecrement
fn clone(&self) -> IncrementOrDecrement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IncrementOrDecrement
impl Debug for IncrementOrDecrement
source§impl PartialEq<IncrementOrDecrement> for IncrementOrDecrement
impl PartialEq<IncrementOrDecrement> for IncrementOrDecrement
source§fn eq(&self, other: &IncrementOrDecrement) -> bool
fn eq(&self, other: &IncrementOrDecrement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for IncrementOrDecrement
impl SelfRustTokenize for IncrementOrDecrement
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self