pub struct BinaryOp {
pub op: String,
pub lhs: Box<Expression>,
pub rhs: Box<Expression>,
}
Expand description
Represents a binary operation.
Exemple:
counter <= 2
Fields§
§op: String
Represents the operator symbol.
lhs: Box<Expression>
Represents the left-hand side.
rhs: Box<Expression>
Represents the right-hand side.
Trait Implementations§
source§impl PartialEq for BinaryOp
impl PartialEq for BinaryOp
impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
impl Freeze for BinaryOp
impl RefUnwindSafe for BinaryOp
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnwindSafe for BinaryOp
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