Struct cairo_lang_sierra_to_casm::compiler::CairoProgram
source · pub struct CairoProgram {
pub instructions: Vec<Instruction>,
pub debug_info: CairoProgramDebugInfo,
}
Expand description
The casm program representation.
Fields§
§instructions: Vec<Instruction>
§debug_info: CairoProgramDebugInfo
Trait Implementations§
source§impl Debug for CairoProgram
impl Debug for CairoProgram
source§impl Display for CairoProgram
impl Display for CairoProgram
source§impl PartialEq for CairoProgram
impl PartialEq for CairoProgram
source§fn eq(&self, other: &CairoProgram) -> bool
fn eq(&self, other: &CairoProgram) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CairoProgram
impl StructuralEq for CairoProgram
impl StructuralPartialEq for CairoProgram
Auto Trait Implementations§
impl RefUnwindSafe for CairoProgram
impl Send for CairoProgram
impl Sync for CairoProgram
impl Unpin for CairoProgram
impl UnwindSafe for CairoProgram
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.