Struct esr::ast::expression::PrefixExpression
source · pub struct PrefixExpression<'ast> {
pub operator: OperatorKind,
pub operand: ExpressionNode<'ast>,
}
Fields
operator: OperatorKind
operand: ExpressionNode<'ast>
Trait Implementations
sourceimpl<'ast> Clone for PrefixExpression<'ast>
impl<'ast> Clone for PrefixExpression<'ast>
sourcefn clone(&self) -> PrefixExpression<'ast>
fn clone(&self) -> PrefixExpression<'ast>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'ast> Debug for PrefixExpression<'ast>
impl<'ast> Debug for PrefixExpression<'ast>
sourceimpl<'ast> From<PrefixExpression<'ast>> for Expression<'ast>
impl<'ast> From<PrefixExpression<'ast>> for Expression<'ast>
sourcefn from(val: PrefixExpression<'ast>) -> Expression<'ast>
fn from(val: PrefixExpression<'ast>) -> Expression<'ast>
Converts to this type from the input type.
sourceimpl<'ast> PartialEq<PrefixExpression<'ast>> for PrefixExpression<'ast>
impl<'ast> PartialEq<PrefixExpression<'ast>> for PrefixExpression<'ast>
sourcefn eq(&self, other: &PrefixExpression<'ast>) -> bool
fn eq(&self, other: &PrefixExpression<'ast>) -> bool
impl<'ast> Copy for PrefixExpression<'ast>
impl<'ast> StructuralPartialEq for PrefixExpression<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for PrefixExpression<'ast>
impl<'ast> Send for PrefixExpression<'ast>
impl<'ast> !Sync for PrefixExpression<'ast>
impl<'ast> Unpin for PrefixExpression<'ast>
impl<'ast> UnwindSafe for PrefixExpression<'ast>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more