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§

source§

impl<T: DepContext> HasDepContext for T

§

type Deps = <T as DepContext>::Deps

§

type DepContext = T