Struct quil_rs::instruction::Arithmetic
source · pub struct Arithmetic {
pub operator: ArithmeticOperator,
pub destination: ArithmeticOperand,
pub source: ArithmeticOperand,
}
Fields§
§operator: ArithmeticOperator
§destination: ArithmeticOperand
§source: ArithmeticOperand
Trait Implementations§
source§impl Clone for Arithmetic
impl Clone for Arithmetic
source§fn clone(&self) -> Arithmetic
fn clone(&self) -> Arithmetic
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 Arithmetic
impl Debug for Arithmetic
source§impl PartialEq<Arithmetic> for Arithmetic
impl PartialEq<Arithmetic> for Arithmetic
source§fn eq(&self, other: &Arithmetic) -> bool
fn eq(&self, other: &Arithmetic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.