pub struct LoadedSources {
pub candidates: Vec<Candidate>,
pub files: Vec<SourceFile>,
pub diagnostics: Vec<CollectionDiagnostic>,
}Expand description
Everything read from a spec’s sources.
Fields§
§candidates: Vec<Candidate>Every parsed document, in source and file order.
files: Vec<SourceFile>Every file read.
diagnostics: Vec<CollectionDiagnostic>Parse diagnostics, with file paths.
Trait Implementations§
Source§impl Clone for LoadedSources
impl Clone for LoadedSources
Source§impl Debug for LoadedSources
impl Debug for LoadedSources
Auto Trait Implementations§
impl Forget for LoadedSources
impl Freeze for LoadedSources
impl Move for LoadedSources
impl RefUnwindSafe for LoadedSources
impl Send for LoadedSources
impl Sync for LoadedSources
impl Unpin for LoadedSources
impl UnsafeUnpin for LoadedSources
impl UnwindSafe for LoadedSources
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