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 for UnaryPrefixAssignmentOperator
impl PartialEq for UnaryPrefixAssignmentOperator
Source§fn eq(&self, other: &UnaryPrefixAssignmentOperator) -> bool
fn eq(&self, other: &UnaryPrefixAssignmentOperator) -> bool
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
Source§impl TryFrom<&TSXToken> for UnaryPrefixAssignmentOperator
impl TryFrom<&TSXToken> for UnaryPrefixAssignmentOperator
Source§impl Visitable for UnaryPrefixAssignmentOperator
impl Visitable for UnaryPrefixAssignmentOperator
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 UnaryPrefixAssignmentOperator
impl Eq for UnaryPrefixAssignmentOperator
impl StructuralPartialEq for UnaryPrefixAssignmentOperator
Auto Trait Implementations§
impl Freeze for UnaryPrefixAssignmentOperator
impl RefUnwindSafe for UnaryPrefixAssignmentOperator
impl Send for UnaryPrefixAssignmentOperator
impl Sync for UnaryPrefixAssignmentOperator
impl Unpin for UnaryPrefixAssignmentOperator
impl UnwindSafe for UnaryPrefixAssignmentOperator
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