Dependency
struct · ferroui-dependency-injection · v0.5.0
struct Dependency
A constructor parameter's call site, used without running user code during validation.
Members
identifier
identifier: ServiceIdentifier
kind
kind: DependencyKind
lookup_mode
lookup_mode: ServiceKeyLookupMode
required
fn required<S: ?Sized + 'static>() -> Self
keyed
fn keyed<S: ?Sized + 'static>(key: Option<ServiceKey>) -> Self
inherited
fn inherited<S: ?Sized + 'static>() -> Self
optional
fn optional(self: Self) -> Self
enumerable
fn enumerable(self: Self) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.