pub struct StepLocation {
pub key: LineKey,
pub generated: bool,
pub contract_name: String,
pub path: String,
pub offset: u64,
pub length: u64,
pub line: u64,
pub column: u64,
pub function: Option<FunctionId>,
pub function_name: Option<String>,
}Expand description
Where one step is in the source, as a frontend shows it.
Fields§
§key: LineKey§generated: boolTrue when the instruction itself is compiler-generated helper code and the location shown is the statement it was generated for.
contract_name: String§path: String§offset: u64§length: u64§line: u64§column: u64§function: Option<FunctionId>§function_name: Option<String>Trait Implementations§
Source§impl Clone for StepLocation
impl Clone for StepLocation
Source§impl Debug for StepLocation
impl Debug for StepLocation
impl Eq for StepLocation
Source§impl PartialEq for StepLocation
impl PartialEq for StepLocation
impl StructuralPartialEq for StepLocation
Auto Trait Implementations§
impl Freeze for StepLocation
impl RefUnwindSafe for StepLocation
impl Send for StepLocation
impl Sync for StepLocation
impl Unpin for StepLocation
impl UnsafeUnpin for StepLocation
impl UnwindSafe for StepLocation
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