pub struct UnaryOperatorExpression {
pub operator: Node<UnaryOperator>,
pub operand: Box<Node<Expression>>,
}
Expand description
Unary operator expression
This represents both postfix and prefix unary oprators. Postfix expressions that take additional operands are represented by a separate entry in this enum.
(C11 6.5.2, c11 6.5.3)
Fields§
§operator: Node<UnaryOperator>
§operand: Box<Node<Expression>>
Trait Implementations§
Source§impl Clone for UnaryOperatorExpression
impl Clone for UnaryOperatorExpression
Source§fn clone(&self) -> UnaryOperatorExpression
fn clone(&self) -> UnaryOperatorExpression
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 UnaryOperatorExpression
impl Debug for UnaryOperatorExpression
Source§impl PartialEq for UnaryOperatorExpression
impl PartialEq for UnaryOperatorExpression
impl StructuralPartialEq for UnaryOperatorExpression
Auto Trait Implementations§
impl Freeze for UnaryOperatorExpression
impl RefUnwindSafe for UnaryOperatorExpression
impl Send for UnaryOperatorExpression
impl Sync for UnaryOperatorExpression
impl Unpin for UnaryOperatorExpression
impl UnwindSafe for UnaryOperatorExpression
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