Struct docs::ast::PrefixExpression
source · pub struct PrefixExpression {
pub token: Token,
pub right: Box<Expression>,
}Fields§
§token: Token§right: Box<Expression>Trait Implementations§
source§impl Clone for PrefixExpression
impl Clone for PrefixExpression
source§fn clone(&self) -> PrefixExpression
fn clone(&self) -> PrefixExpression
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 PrefixExpression
impl Debug for PrefixExpression
source§impl Nodetrait for PrefixExpression
impl Nodetrait for PrefixExpression
source§impl PartialEq for PrefixExpression
impl PartialEq for PrefixExpression
source§fn eq(&self, other: &PrefixExpression) -> bool
fn eq(&self, other: &PrefixExpression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PrefixExpression
Auto Trait Implementations§
impl Freeze for PrefixExpression
impl RefUnwindSafe for PrefixExpression
impl Send for PrefixExpression
impl Sync for PrefixExpression
impl Unpin for PrefixExpression
impl UnwindSafe for PrefixExpression
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