pub struct ParsedFile {
pub path: PathBuf,
pub syntax_tree: File,
}Expand description
A successfully parsed Rust file with its abstract syntax tree.
Contains both the original file path and the parsed syntax tree structure.
Fields§
§path: PathBufPath to the source file
syntax_tree: FileThe parsed abstract syntax tree
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedFile
impl RefUnwindSafe for ParsedFile
impl !Send for ParsedFile
impl !Sync for ParsedFile
impl Unpin for ParsedFile
impl UnwindSafe for ParsedFile
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