Struct rustc_middle::dep_graph::DepsType
source · pub struct DepsType;
Trait Implementations§
source§impl Deps for DepsType
impl Deps for DepsType
source§fn with_deps<OP, R>(task_deps: TaskDepsRef<'_>, op: OP) -> Rwhere
OP: FnOnce() -> R,
fn with_deps<OP, R>(task_deps: TaskDepsRef<'_>, op: OP) -> Rwhere OP: FnOnce() -> R,
Execute the operation with provided dependencies.
source§fn read_deps<OP>(op: OP)where
OP: for<'a> FnOnce(TaskDepsRef<'a>),
fn read_deps<OP>(op: OP)where OP: for<'a> FnOnce(TaskDepsRef<'a>),
Access dependencies from current implicit context.
source§const DEP_KIND_NULL: DepKind = dep_kinds::Null
const DEP_KIND_NULL: DepKind = dep_kinds::Null
We use this for most things when incr. comp. is turned off.
source§const DEP_KIND_RED: DepKind = dep_kinds::Red
const DEP_KIND_RED: DepKind = dep_kinds::Red
We use this to create a forever-red node.
source§const DEP_KIND_MAX: u16 = 293u16
const DEP_KIND_MAX: u16 = 293u16
This is the highest value a
DepKind
can have. It’s used during encoding to
pack information into the unused bits.Auto Trait Implementations§
impl RefUnwindSafe for DepsType
impl Send for DepsType
impl Sync for DepsType
impl Unpin for DepsType
impl UnwindSafe for DepsType
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
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
source§impl<P> IntoQueryParam<P> for P
impl<P> IntoQueryParam<P> for P
fn into_query_param(self) -> P
source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
source§impl<'tcx, T> ToPredicate<'tcx, T> for T
impl<'tcx, T> ToPredicate<'tcx, T> for T
fn to_predicate(self, _tcx: TyCtxt<'tcx>) -> T
source§impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
impl<Tcx, T> Value<Tcx> for Twhere Tcx: DepContext,
default fn from_cycle_error( tcx: Tcx, cycle: &[QueryInfo], _guar: ErrorGuaranteed ) -> 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: 0 bytes