Struct rustc::dep_graph::AssertDepGraphSafe[][src]

pub struct AssertDepGraphSafe<T>(pub T);
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A convenient override that lets you pass arbitrary state into a task. Every use should be accompanied by a comment explaining why it makes sense (or how it could be refactored away in the future).

Trait Implementations

impl<T> DepGraphSafe for AssertDepGraphSafe<T>
[src]

Auto Trait Implementations

impl<T> Send for AssertDepGraphSafe<T> where
    T: Send

impl<T> Sync for AssertDepGraphSafe<T> where
    T: Sync