pub enum UnaryPrefixAssignmentOperator {
Invert,
IncrementOrDecrement(IncrementOrDecrement),
}
Variants§
Invert
IncrementOrDecrement(IncrementOrDecrement)
Trait Implementations§
source§impl Clone for UnaryPrefixAssignmentOperator
impl Clone for UnaryPrefixAssignmentOperator
source§fn clone(&self) -> UnaryPrefixAssignmentOperator
fn clone(&self) -> UnaryPrefixAssignmentOperator
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 Operator for UnaryPrefixAssignmentOperator
impl Operator for UnaryPrefixAssignmentOperator
source§fn precedence(&self) -> u8
fn precedence(&self) -> u8
source§fn associativity_direction(&self) -> AssociativityDirection
fn associativity_direction(&self) -> AssociativityDirection
Returns the associativity of the operator. Taken from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#table
source§fn is_associative(&self) -> bool
fn is_associative(&self) -> bool
Is associative with self https://en.wikipedia.org/wiki/Associative_property
fn precedence_and_associativity_direction(&self) -> (u8, AssociativityDirection)
source§impl PartialEq<UnaryPrefixAssignmentOperator> for UnaryPrefixAssignmentOperator
impl PartialEq<UnaryPrefixAssignmentOperator> for UnaryPrefixAssignmentOperator
source§fn eq(&self, other: &UnaryPrefixAssignmentOperator) -> bool
fn eq(&self, other: &UnaryPrefixAssignmentOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for UnaryPrefixAssignmentOperator
impl SelfRustTokenize for UnaryPrefixAssignmentOperator
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