[][src]Module inject::inject

Injectable types

Any type which is 'static implements Inject, meaning it can be resolved by a Provider.

Any type which implements Inject and Default trivially implements InjectExt, which means that when no provider is present, and get! is used to resolve a type, InjectExt::inject(..) will be invoked.

Traits

Inject

Marker trait for an injectable type.

InjectExt

Trait to blanket implement an associated inject method for all types implementing Default, enabling ergonomic get! and call! usages.

Functions

id