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 Clone for JnzInstruction
impl Clone for JnzInstruction
source§fn clone(&self) -> JnzInstruction
fn clone(&self) -> JnzInstruction
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 JnzInstruction
impl Debug for JnzInstruction
source§impl Display for JnzInstruction
impl Display for JnzInstruction
source§impl PartialEq for JnzInstruction
impl PartialEq 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 StructuralPartialEq for JnzInstruction
Auto Trait Implementations§
impl Freeze for JnzInstruction
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 Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.