pub struct SourceCache { /* private fields */ }Expand description
What stepping reads from the source text: its functions, type declarations, and
line starts. Contracts compiled together share most of their sources, so a host that
prepares several of them passes one cache to
ContractDebugInfo::with_source_cache and each source is read once.
Trait Implementations§
Source§impl Debug for SourceCache
impl Debug for SourceCache
Auto Trait Implementations§
impl Freeze for SourceCache
impl RefUnwindSafe for SourceCache
impl Send for SourceCache
impl Sync for SourceCache
impl Unpin for SourceCache
impl UnsafeUnpin for SourceCache
impl UnwindSafe for SourceCache
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