pub struct BinaryExpression(pub Expression, pub BinOp, pub Expression);
Tuple Fields
0: Expression
1: BinOp
2: Expression
Trait Implementations
sourceimpl Clone for BinaryExpression
impl Clone for BinaryExpression
sourcefn clone(&self) -> BinaryExpression
fn clone(&self) -> BinaryExpression
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 more
sourceimpl Debug for BinaryExpression
impl Debug for BinaryExpression
sourceimpl From<BinaryExpression> for Expr
impl From<BinaryExpression> for Expr
sourcefn from(v: BinaryExpression) -> Self
fn from(v: BinaryExpression) -> Self
Converts to this type from the input type.
sourceimpl Interpretable for BinaryExpression
impl Interpretable for BinaryExpression
sourceimpl PartialEq<BinaryExpression> for BinaryExpression
impl PartialEq<BinaryExpression> for BinaryExpression
sourcefn eq(&self, other: &BinaryExpression) -> bool
fn eq(&self, other: &BinaryExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BinaryExpression) -> bool
fn ne(&self, other: &BinaryExpression) -> bool
This method tests for !=
.
impl Eq for BinaryExpression
impl StructuralEq for BinaryExpression
impl StructuralPartialEq for BinaryExpression
Auto Trait Implementations
impl RefUnwindSafe for BinaryExpression
impl !Send for BinaryExpression
impl !Sync for BinaryExpression
impl Unpin for BinaryExpression
impl UnwindSafe for BinaryExpression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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