Enum rustc_query_system::dep_graph::TaskDepsRef
source · [−]Variants
Allow(&'a Lock<TaskDeps<K>>)
New dependencies can be added to the
TaskDeps
. This is used when executing a ‘normal’ query
(no eval_always
modifier)
Ignore
New dependencies are ignored. This is used when
executing an eval_always
query, since there’s no
need to track dependencies for a query that’s always
re-executed. This is also used for dep_graph.with_ignore
Forbid
Any attempt to add new dependencies will cause a panic. This is used when decoding a query result from disk, to ensure that the decoding process doesn’t itself require the execution of any queries.
Trait Implementations
sourceimpl<'a, K: Clone + DepKind> Clone for TaskDepsRef<'a, K>
impl<'a, K: Clone + DepKind> Clone for TaskDepsRef<'a, K>
sourcefn clone(&self) -> TaskDepsRef<'a, K>
fn clone(&self) -> TaskDepsRef<'a, K>
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl<'a, K: Debug + DepKind> Debug for TaskDepsRef<'a, K>
impl<'a, K: Debug + DepKind> Debug for TaskDepsRef<'a, K>
impl<'a, K: Copy + DepKind> Copy for TaskDepsRef<'a, K>
Auto Trait Implementations
impl<'a, K> !RefUnwindSafe for TaskDepsRef<'a, K>
impl<'a, K> !Send for TaskDepsRef<'a, K>
impl<'a, K> !Sync for TaskDepsRef<'a, K>
impl<'a, K> Unpin for TaskDepsRef<'a, K>
impl<'a, K> !UnwindSafe for TaskDepsRef<'a, K>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Allow
: 8 bytesIgnore
: 0 bytesForbid
: 0 bytes