pub struct SourceSets { /* private fields */ }Implementations§
Source§impl SourceSets
impl SourceSets
pub fn get(&self, source_set: SourceSet) -> &SourceSetModel
pub fn merge(sets: impl IntoIterator<Item = SourceSets>) -> SourceSets
pub fn iter(&self) -> IntoIter<(SourceSet, &SourceSetModel), 4> ⓘ
Trait Implementations§
Source§impl Clone for SourceSets
impl Clone for SourceSets
Source§impl Debug for SourceSets
impl Debug for SourceSets
Source§impl Default for SourceSets
impl Default for SourceSets
Source§fn default() -> SourceSets
fn default() -> SourceSets
Returns the “default value” for a type. Read more
impl Eq for SourceSets
Source§impl PartialEq for SourceSets
impl PartialEq for SourceSets
impl StructuralPartialEq for SourceSets
Auto Trait Implementations§
impl Forget for SourceSets
impl Freeze for SourceSetswhere
*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 SourceSets
impl RefUnwindSafe for SourceSets
impl Send for SourceSetswhere
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 SourceSetswhere
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 SourceSets
impl UnsafeUnpin for SourceSetswhere
*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 SourceSetswhere
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