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