ObjectFactory
struct · ferroui-dependency-injection · v0.5.0
struct ObjectFactory<S: ?Sized>
Members
new
fn new(dependencies: Vec<Dependency>, factory: impl Fn(&dyn IServiceProvider, Option<&ServiceKey>) -> ServiceResult<Rc<S>> + 'static) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.