pub struct OperationExpression { /* private fields */ }
Implementations§
Source§impl OperationExpression
impl OperationExpression
pub fn new( left_side_operand: Option<Box<Node>>, middle_operand: Option<Box<Node>>, right_side_operand: Option<Box<Node>>, operator: Operator, operator_type: OperatorType, ) -> Self
pub fn left_side_operand(&self) -> Option<&Node>
pub fn middle_operand(&self) -> Option<&Node>
pub fn right_side_operand(&self) -> Option<&Node>
pub fn operator(&self) -> Operator
pub fn operator_type(&self) -> OperatorType
Trait Implementations§
Source§impl Clone for OperationExpression
impl Clone for OperationExpression
Source§fn clone(&self) -> OperationExpression
fn clone(&self) -> OperationExpression
Returns a duplicate 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 OperationExpression
impl Debug for OperationExpression
Source§impl PartialEq for OperationExpression
impl PartialEq for OperationExpression
impl StructuralPartialEq for OperationExpression
Auto Trait Implementations§
impl Freeze for OperationExpression
impl RefUnwindSafe for OperationExpression
impl Send for OperationExpression
impl Sync for OperationExpression
impl Unpin for OperationExpression
impl UnwindSafe for OperationExpression
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