rustc_query_system::dep_graph

Trait HasDepContext

source
pub trait HasDepContext: Copy {
    type Deps: Deps;
    type DepContext: DepContext<Deps = Self::Deps>;

    // Required method
    fn dep_context(&self) -> &Self::DepContext;
}

Required Associated Types§

Required Methods§

source

fn dep_context(&self) -> &Self::DepContext

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: HasDepContext, Q: Copy> HasDepContext for (T, Q)

Implementors§