pub enum UnaryExpressionArgument<'tree> {
BinaryExpression(Box<BinaryExpression<'tree>>),
BooleanLiteral(Box<BooleanLiteral<'tree>>),
CharacterLiteral(Box<CharacterLiteral<'tree>>),
Identifier(Box<Identifier<'tree>>),
IntegerLiteral(Box<IntegerLiteral<'tree>>),
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>),
UnaryExpression(Box<UnaryExpression<'tree>>),
}Variants§
BinaryExpression(Box<BinaryExpression<'tree>>)
BooleanLiteral(Box<BooleanLiteral<'tree>>)
CharacterLiteral(Box<CharacterLiteral<'tree>>)
Identifier(Box<Identifier<'tree>>)
IntegerLiteral(Box<IntegerLiteral<'tree>>)
ParenthesizedExpression(Box<ParenthesizedExpression<'tree>>)
UnaryExpression(Box<UnaryExpression<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for UnaryExpressionArgument<'tree>
impl<'tree> Clone for UnaryExpressionArgument<'tree>
Source§fn clone(&self) -> UnaryExpressionArgument<'tree>
fn clone(&self) -> UnaryExpressionArgument<'tree>
Returns a duplicate 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<'tree> Debug for UnaryExpressionArgument<'tree>
impl<'tree> Debug for UnaryExpressionArgument<'tree>
Source§impl<'tree> FromNode<'tree> for UnaryExpressionArgument<'tree>
impl<'tree> FromNode<'tree> for UnaryExpressionArgument<'tree>
Source§impl<'tree> PartialEq for UnaryExpressionArgument<'tree>
impl<'tree> PartialEq for UnaryExpressionArgument<'tree>
Source§fn eq(&self, other: &UnaryExpressionArgument<'tree>) -> bool
fn eq(&self, other: &UnaryExpressionArgument<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for UnaryExpressionArgument<'_>
impl Spanned for UnaryExpressionArgument<'_>
impl<'tree> Eq for UnaryExpressionArgument<'tree>
impl<'tree> StructuralPartialEq for UnaryExpressionArgument<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for UnaryExpressionArgument<'tree>
impl<'tree> RefUnwindSafe for UnaryExpressionArgument<'tree>
impl<'tree> Send for UnaryExpressionArgument<'tree>
impl<'tree> Sync for UnaryExpressionArgument<'tree>
impl<'tree> Unpin for UnaryExpressionArgument<'tree>
impl<'tree> UnsafeUnpin for UnaryExpressionArgument<'tree>
impl<'tree> UnwindSafe for UnaryExpressionArgument<'tree>
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