pub struct SourceMapProgram {
pub info: EthdebugInfo,
pub resources: Value,
pub source_contents: BTreeMap<u64, String>,
pub source_files: BTreeMap<u64, PathBuf>,
pub storage_layout: Option<StorageLayout>,
pub transient_storage_layout: Option<StorageLayout>,
}Expand description
A legacy source-map program adapted to the common debug-info model.
Fields§
§info: EthdebugInfo§resources: Value§source_contents: BTreeMap<u64, String>§source_files: BTreeMap<u64, PathBuf>The file each source was read from, which may be above the artifact directory.
storage_layout: Option<StorageLayout>The contract’s storage-layout entry, when the artifact was compiled with it.
transient_storage_layout: Option<StorageLayout>The contract’s transient-storage-layout entry, when compiled with it.
Trait Implementations§
Source§impl Clone for SourceMapProgram
impl Clone for SourceMapProgram
Source§impl Debug for SourceMapProgram
impl Debug for SourceMapProgram
impl Eq for SourceMapProgram
Source§impl PartialEq for SourceMapProgram
impl PartialEq for SourceMapProgram
impl StructuralPartialEq for SourceMapProgram
Auto Trait Implementations§
impl Freeze for SourceMapProgram
impl RefUnwindSafe for SourceMapProgram
impl Send for SourceMapProgram
impl Sync for SourceMapProgram
impl Unpin for SourceMapProgram
impl UnsafeUnpin for SourceMapProgram
impl UnwindSafe for SourceMapProgram
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