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