pub struct SierraStatementDebugInfo {
pub code_offset: usize,
pub instruction_idx: usize,
}
Expand description
The debug information of a compilation from Sierra to casm.
Fields§
§code_offset: usize
The offset of the sierra statement within the bytecode.
instruction_idx: usize
The index of the sierra statement in the instructions vector.
Trait Implementations§
source§impl Clone for SierraStatementDebugInfo
impl Clone for SierraStatementDebugInfo
source§fn clone(&self) -> SierraStatementDebugInfo
fn clone(&self) -> SierraStatementDebugInfo
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 SierraStatementDebugInfo
impl Debug for SierraStatementDebugInfo
source§impl PartialEq for SierraStatementDebugInfo
impl PartialEq for SierraStatementDebugInfo
source§fn eq(&self, other: &SierraStatementDebugInfo) -> bool
fn eq(&self, other: &SierraStatementDebugInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SierraStatementDebugInfo
impl Eq for SierraStatementDebugInfo
impl StructuralPartialEq for SierraStatementDebugInfo
Auto Trait Implementations§
impl RefUnwindSafe for SierraStatementDebugInfo
impl Send for SierraStatementDebugInfo
impl Sync for SierraStatementDebugInfo
impl Unpin for SierraStatementDebugInfo
impl UnwindSafe for SierraStatementDebugInfo
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§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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.