pub struct BinaryOperation {
    pub left: Box<Expression>,
    pub operator: String,
    pub right: Box<Expression>,
}Fields§
§left: Box<Expression>§operator: String§right: Box<Expression>Implementations§
Source§impl BinaryOperation
 
impl BinaryOperation
pub fn new(left: Expression, op: String, right: Expression) -> BinaryOperation
pub fn is_valid(&self) -> bool
Trait Implementations§
Source§impl Clone for BinaryOperation
 
impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
 
fn clone(&self) -> BinaryOperation
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 BinaryOperation
 
impl Debug for BinaryOperation
Source§impl Default for BinaryOperation
 
impl Default for BinaryOperation
Source§fn default() -> BinaryOperation
 
fn default() -> BinaryOperation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BinaryOperation
impl RefUnwindSafe for BinaryOperation
impl Send for BinaryOperation
impl Sync for BinaryOperation
impl Unpin for BinaryOperation
impl UnwindSafe for BinaryOperation
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