pub struct BinaryOperation {
pub left: Expression,
pub op: BinaryOperator,
pub right: Expression,
}Expand description
An operation involving two Ryan expressions and a binary operator.
Fields§
§left: ExpressionThe left side of the operation.
op: BinaryOperatorThe binary operator to be used.
right: ExpressionThe right side of the operation.
Trait Implementations§
Source§impl Clone for BinaryOperation
impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
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 BinaryOperation
impl Debug for BinaryOperation
Source§impl Display for BinaryOperation
impl Display for BinaryOperation
Source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
impl StructuralPartialEq for BinaryOperation
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