pub struct SourceCode {
pub content: String,
pub ast: File,
}
Fields§
§content: String
§ast: File
Implementations§
Source§impl SourceCode
impl SourceCode
Auto Trait Implementations§
impl Freeze for SourceCode
impl RefUnwindSafe for SourceCode
impl !Send for SourceCode
impl !Sync for SourceCode
impl Unpin for SourceCode
impl UnwindSafe for SourceCode
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