Struct cairo_lang_casm::instructions::JnzInstruction
source · pub struct JnzInstruction {
pub jump_offset: DerefOrImmediate,
pub condition: CellRef,
}
Expand description
Represents the InstructionBody “jmp rel <jump_offset> if condition != 0”.
Fields§
§jump_offset: DerefOrImmediate
§condition: CellRef
Implementations§
Trait Implementations§
source§impl Debug for JnzInstruction
impl Debug for JnzInstruction
source§impl Display for JnzInstruction
impl Display for JnzInstruction
source§impl PartialEq<JnzInstruction> for JnzInstruction
impl PartialEq<JnzInstruction> for JnzInstruction
source§fn eq(&self, other: &JnzInstruction) -> bool
fn eq(&self, other: &JnzInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for JnzInstruction
impl StructuralEq for JnzInstruction
impl StructuralPartialEq for JnzInstruction
Auto Trait Implementations§
impl RefUnwindSafe for JnzInstruction
impl Send for JnzInstruction
impl Sync for JnzInstruction
impl Unpin for JnzInstruction
impl UnwindSafe for JnzInstruction
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.