pub struct SourceSetModel {
pub source_set: SourceSet,
pub files: Vec<SourceFile>,
pub workspace: Workspace,
pub runtime_imports: Vec<RuntimeImport>,
pub languages: Vec<LanguageFacts>,
}Fields§
§source_set: SourceSet§files: Vec<SourceFile>§workspace: Workspace§runtime_imports: Vec<RuntimeImport>§languages: Vec<LanguageFacts>Implementations§
Source§impl SourceSetModel
impl SourceSetModel
pub fn empty(source_set: SourceSet) -> SourceSetModel
pub fn merge( source_set: SourceSet, models: impl IntoIterator<Item = SourceSetModel>, ) -> SourceSetModel
pub fn to_code_model(&self) -> CodeModel
Trait Implementations§
Source§impl Clone for SourceSetModel
impl Clone for SourceSetModel
Source§impl Debug for SourceSetModel
impl Debug for SourceSetModel
Source§impl Default for SourceSetModel
impl Default for SourceSetModel
Source§fn default() -> SourceSetModel
fn default() -> SourceSetModel
Returns the “default value” for a type. Read more
impl Eq for SourceSetModel
Source§impl PartialEq for SourceSetModel
impl PartialEq for SourceSetModel
impl StructuralPartialEq for SourceSetModel
Auto Trait Implementations§
impl Forget for SourceSetModel
impl Freeze for SourceSetModelwhere
*const u8 is !null: Freeze,
PhantomData<SourceFile>: Freeze,
*const LeafNode<RepoPath, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(RepoPath, SetValZST)>>: Freeze,
*const LeafNode<SkippedManifest, SetValZST> is !null: Freeze,
PhantomData<Box<(SkippedManifest, SetValZST)>>: Freeze,
PhantomData<RuntimeImport>: Freeze,
PhantomData<LanguageFacts>: Freeze,
impl Move for SourceSetModel
impl RefUnwindSafe for SourceSetModel
impl Send for SourceSetModelwhere
RawVecInner: Send,
NodeRef<Owned, RepoPath, SetValZST, LeafOrInternal>: Send,
BoxRaw<(RepoPath, SetValZST)>: Send,
NodeRef<Owned, SkippedManifest, SetValZST, LeafOrInternal>: Send,
BoxRaw<(SkippedManifest, SetValZST)>: Send,
impl Sync for SourceSetModelwhere
RawVecInner: Sync,
NodeRef<Owned, RepoPath, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(RepoPath, SetValZST)>: Sync,
NodeRef<Owned, SkippedManifest, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(SkippedManifest, SetValZST)>: Sync,
impl Unpin for SourceSetModel
impl UnsafeUnpin for SourceSetModelwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SourceFile>: UnsafeUnpin,
*const LeafNode<RepoPath, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(RepoPath, SetValZST)>>: UnsafeUnpin,
*const LeafNode<SkippedManifest, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(SkippedManifest, SetValZST)>>: UnsafeUnpin,
PhantomData<RuntimeImport>: UnsafeUnpin,
PhantomData<LanguageFacts>: UnsafeUnpin,
impl UnwindSafe for SourceSetModelwhere
RawVecInner: UnwindSafe,
BTreeMap<RepoPath, SetValZST>: UnwindSafe,
BTreeMap<SkippedManifest, SetValZST>: UnwindSafe,
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