pub struct SourceMapEntry {
pub wasm_func_index: u32,
pub func_name: String,
pub kind: FuncKind,
pub span: Span,
}Expand description
A single source map entry: one WASM function → one PEPL source region.
Fields§
§wasm_func_index: u32Absolute WASM function index (imports + runtime + space functions).
func_name: StringHuman-readable name of the function (e.g. “init”, “dispatch_action”, “increment”, “__test_0”).
kind: FuncKindKind of function for host grouping.
span: SpanSource span (1-based line/column).
Trait Implementations§
Source§impl Clone for SourceMapEntry
impl Clone for SourceMapEntry
Source§fn clone(&self) -> SourceMapEntry
fn clone(&self) -> SourceMapEntry
Returns a duplicate 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 SourceMapEntry
impl Debug for SourceMapEntry
Source§impl<'de> Deserialize<'de> for SourceMapEntry
impl<'de> Deserialize<'de> for SourceMapEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SourceMapEntry
impl RefUnwindSafe for SourceMapEntry
impl Send for SourceMapEntry
impl Sync for SourceMapEntry
impl Unpin for SourceMapEntry
impl UnwindSafe for SourceMapEntry
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