pub struct SourceFile {
pub path: String,
pub content: String,
}Expand description
A source file extracted from multi-file source code.
Fields§
§path: StringFile path (e.g., “contracts/Token.sol”).
content: StringFile content.
Trait Implementations§
Source§impl Clone for SourceFile
impl Clone for SourceFile
Auto Trait Implementations§
impl Forget for SourceFile
impl Freeze for SourceFile
impl RefUnwindSafe for SourceFile
impl Send for SourceFile
impl Sync for SourceFile
impl Unpin for SourceFile
impl UnsafeUnpin for SourceFile
impl UnwindSafe for SourceFile
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