pub struct UnaryPostfixAssignmentOperator(pub IncrementOrDecrement);
Tuple Fields§
§0: IncrementOrDecrement
Trait Implementations§
source§impl Clone for UnaryPostfixAssignmentOperator
impl Clone for UnaryPostfixAssignmentOperator
source§fn clone(&self) -> UnaryPostfixAssignmentOperator
fn clone(&self) -> UnaryPostfixAssignmentOperator
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 UnaryPostfixAssignmentOperator
impl Operator for UnaryPostfixAssignmentOperator
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 for UnaryPostfixAssignmentOperator
impl PartialEq for UnaryPostfixAssignmentOperator
source§fn eq(&self, other: &UnaryPostfixAssignmentOperator) -> bool
fn eq(&self, other: &UnaryPostfixAssignmentOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for UnaryPostfixAssignmentOperator
impl SelfRustTokenize for UnaryPostfixAssignmentOperator
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
source§impl TryFrom<&TSXToken> for UnaryPostfixAssignmentOperator
impl TryFrom<&TSXToken> for UnaryPostfixAssignmentOperator
source§impl Visitable for UnaryPostfixAssignmentOperator
impl Visitable for UnaryPostfixAssignmentOperator
fn visit<TData>( &self, _visitors: &mut (impl VisitorReceiver<TData> + ?Sized), _data: &mut TData, _options: &VisitOptions, _chain: &mut Annex<'_, Chain> )
fn visit_mut<TData>( &mut self, _visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), _data: &mut TData, _options: &VisitOptions, _chain: &mut Annex<'_, Chain> )
impl Copy for UnaryPostfixAssignmentOperator
impl Eq for UnaryPostfixAssignmentOperator
impl StructuralPartialEq for UnaryPostfixAssignmentOperator
Auto Trait Implementations§
impl Freeze for UnaryPostfixAssignmentOperator
impl RefUnwindSafe for UnaryPostfixAssignmentOperator
impl Send for UnaryPostfixAssignmentOperator
impl Sync for UnaryPostfixAssignmentOperator
impl Unpin for UnaryPostfixAssignmentOperator
impl UnwindSafe for UnaryPostfixAssignmentOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more