pub struct ParsedFile {
pub ast: File,
pub path: PathBuf,
}Expand description
Cache entry for a parsed Rust file
Fields§
§ast: FileThe parsed AST
path: PathBufFile path for reference
Implementations§
Trait Implementations§
Source§impl Clone for ParsedFile
impl Clone for ParsedFile
Source§fn clone(&self) -> ParsedFile
fn clone(&self) -> ParsedFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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