Enum quil_rs::instruction::ComparisonOperand
source · pub enum ComparisonOperand {
LiteralInteger(i64),
LiteralReal(f64),
MemoryReference(MemoryReference),
}
Variants§
Trait Implementations§
source§impl Clone for ComparisonOperand
impl Clone for ComparisonOperand
source§fn clone(&self) -> ComparisonOperand
fn clone(&self) -> ComparisonOperand
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 ComparisonOperand
impl Debug for ComparisonOperand
source§impl Display for ComparisonOperand
impl Display for ComparisonOperand
source§impl PartialEq<ComparisonOperand> for ComparisonOperand
impl PartialEq<ComparisonOperand> for ComparisonOperand
source§fn eq(&self, other: &ComparisonOperand) -> bool
fn eq(&self, other: &ComparisonOperand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.