Struct esr::ast::expression::BinaryExpression
source · pub struct BinaryExpression<'ast> {
pub operator: OperatorKind,
pub left: ExpressionNode<'ast>,
pub right: ExpressionNode<'ast>,
}
Fields
operator: OperatorKind
left: ExpressionNode<'ast>
right: ExpressionNode<'ast>
Trait Implementations
sourceimpl<'ast> Clone for BinaryExpression<'ast>
impl<'ast> Clone for BinaryExpression<'ast>
sourcefn clone(&self) -> BinaryExpression<'ast>
fn clone(&self) -> BinaryExpression<'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 BinaryExpression<'ast>
impl<'ast> Debug for BinaryExpression<'ast>
sourceimpl<'ast> From<BinaryExpression<'ast>> for Expression<'ast>
impl<'ast> From<BinaryExpression<'ast>> for Expression<'ast>
sourcefn from(val: BinaryExpression<'ast>) -> Expression<'ast>
fn from(val: BinaryExpression<'ast>) -> Expression<'ast>
Converts to this type from the input type.
sourceimpl<'ast> PartialEq<BinaryExpression<'ast>> for BinaryExpression<'ast>
impl<'ast> PartialEq<BinaryExpression<'ast>> for BinaryExpression<'ast>
sourcefn eq(&self, other: &BinaryExpression<'ast>) -> bool
fn eq(&self, other: &BinaryExpression<'ast>) -> bool
impl<'ast> Copy for BinaryExpression<'ast>
impl<'ast> StructuralPartialEq for BinaryExpression<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for BinaryExpression<'ast>
impl<'ast> Send for BinaryExpression<'ast>
impl<'ast> !Sync for BinaryExpression<'ast>
impl<'ast> Unpin for BinaryExpression<'ast>
impl<'ast> UnwindSafe for BinaryExpression<'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