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§
Source§impl<'ast> Clone for BinaryExpression<'ast>
impl<'ast> Clone for BinaryExpression<'ast>
Source§fn clone(&self) -> BinaryExpression<'ast>
fn clone(&self) -> BinaryExpression<'ast>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'ast> Debug for BinaryExpression<'ast>
impl<'ast> Debug for BinaryExpression<'ast>
Source§impl<'ast> From<BinaryExpression<'ast>> for Expression<'ast>
impl<'ast> From<BinaryExpression<'ast>> for Expression<'ast>
Source§fn from(val: BinaryExpression<'ast>) -> Expression<'ast>
fn from(val: BinaryExpression<'ast>) -> Expression<'ast>
Converts to this type from the input type.
Source§impl<'ast> PartialEq for BinaryExpression<'ast>
impl<'ast> PartialEq for BinaryExpression<'ast>
Source§fn eq(&self, other: &BinaryExpression<'ast>) -> bool
fn eq(&self, other: &BinaryExpression<'ast>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'ast> Copy for BinaryExpression<'ast>
impl<'ast> StructuralPartialEq for BinaryExpression<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for BinaryExpression<'ast>
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> UnsafeUnpin for BinaryExpression<'ast>
impl<'ast> UnwindSafe for BinaryExpression<'ast>
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