[][src]Trait rdi::Injectable

pub trait Injectable<'a> {
    type Output: 'a;
    type Injected: 'a;
    pub fn inject(self, injected: Self::Injected) -> Self::Output;
}

Do not implement this manually. Use #[inject] instead.

Associated Types

type Output: 'a[src]

type Injected: 'a[src]

Loading content...

Required methods

pub fn inject(self, injected: Self::Injected) -> Self::Output[src]

Loading content...

Implementors

Loading content...