Struct cairo_lang_casm::instructions::AssertEqInstruction
source · pub struct AssertEqInstruction {
pub a: CellRef,
pub b: ResOperand,
}
Expand description
Represents the InstructionBody “a = b” for two operands a, b.
Fields§
§a: CellRef
§b: ResOperand
Implementations§
Trait Implementations§
source§impl Debug for AssertEqInstruction
impl Debug for AssertEqInstruction
source§impl Display for AssertEqInstruction
impl Display for AssertEqInstruction
source§impl PartialEq for AssertEqInstruction
impl PartialEq for AssertEqInstruction
source§fn eq(&self, other: &AssertEqInstruction) -> bool
fn eq(&self, other: &AssertEqInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AssertEqInstruction
impl StructuralEq for AssertEqInstruction
impl StructuralPartialEq for AssertEqInstruction
Auto Trait Implementations§
impl RefUnwindSafe for AssertEqInstruction
impl Send for AssertEqInstruction
impl Sync for AssertEqInstruction
impl Unpin for AssertEqInstruction
impl UnwindSafe for AssertEqInstruction
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.