pub struct AllDefsScope { /* private fields */ }Expand description
Extra roots for the all-definitions scope: every definition of the project namespaces. Dependencies and core are never roots; they are only checked when a root reaches them.
Implementations§
Source§impl AllDefsScope
impl AllDefsScope
pub fn from_snapshot( snapshot: &Snapshot, project_namespaces: &HashSet<String>, selected_entries: &ProgramEntries, ) -> Result<Self, String>
Auto Trait Implementations§
impl Forget for AllDefsScope
impl Freeze for AllDefsScopewhere
*const u8 is !null: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<(String, ())>: Freeze,
PhantomData<EntryCheckContext>: Freeze,
PhantomData<(String, SnapshotTarget)>: Freeze,
impl Move for AllDefsScope
impl RefUnwindSafe for AllDefsScope
impl Send for AllDefsScope
impl Sync for AllDefsScope
impl Unpin for AllDefsScope
impl UnsafeUnpin for AllDefsScopewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
PhantomData<EntryCheckContext>: UnsafeUnpin,
PhantomData<(String, SnapshotTarget)>: UnsafeUnpin,
impl UnwindSafe for AllDefsScopewhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
HashMap<String, String>: UnwindSafe,
HashMap<String, FeaturePolicy>: UnwindSafe,
HashMap<String, SnapshotTarget>: 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