pub struct UnaryExpression<'tree> {
pub span: Span,
pub argument: Expression<'tree>,
pub operator: UnaryExpressionOperator,
}Fields§
§span: Span§argument: Expression<'tree>§operator: UnaryExpressionOperatorTrait Implementations§
Source§impl<'tree> Clone for UnaryExpression<'tree>
impl<'tree> Clone for UnaryExpression<'tree>
Source§fn clone(&self) -> UnaryExpression<'tree>
fn clone(&self) -> UnaryExpression<'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 UnaryExpression<'tree>
impl<'tree> Debug for UnaryExpression<'tree>
Source§impl<'tree> FromNode<'tree> for UnaryExpression<'tree>
impl<'tree> FromNode<'tree> for UnaryExpression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for UnaryExpression<'tree>
impl<'tree> RefUnwindSafe for UnaryExpression<'tree>
impl<'tree> Send for UnaryExpression<'tree>
impl<'tree> Sync for UnaryExpression<'tree>
impl<'tree> Unpin for UnaryExpression<'tree>
impl<'tree> UnsafeUnpin for UnaryExpression<'tree>
impl<'tree> UnwindSafe for UnaryExpression<'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