pub struct ExtractedFile {
pub language: Language,
pub scaffold_hash: ContentHash,
pub symbols: Vec<SymbolEntry>,
}Expand description
The symbols extracted from one source file, plus the file scaffold hash,
ready to be assembled into a
SemanticFileNode.
Fields§
§language: Language§scaffold_hash: ContentHashHash of the residual non-definition top-level token stream — binds
use-decls, impl/attribute/macro tokens and definition-free files into
the file digest. See compute_file_scaffold_hash.
symbols: Vec<SymbolEntry>Auto Trait Implementations§
impl Freeze for ExtractedFile
impl RefUnwindSafe for ExtractedFile
impl Send for ExtractedFile
impl Sync for ExtractedFile
impl Unpin for ExtractedFile
impl UnsafeUnpin for ExtractedFile
impl UnwindSafe for ExtractedFile
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