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 ==
.impl StructuralPartialEq for Arithmetic
Auto Trait Implementations§
impl RefUnwindSafe for Arithmetic
impl Send for Arithmetic
impl Sync for Arithmetic
impl Unpin for Arithmetic
impl UnwindSafe for Arithmetic
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