inject

Macro inject 

Source
macro_rules! inject {
    ($trait:path) => { ... };
}
Expand description

Inject trait implementation from the DI container.

ยงPanics

Panics if the trait is not registered in the container.