SwiftstructJetCore
struct JetCore.Dependency
Members 17
- func
static satisfying<A where A: JetCore.Injectable>(_: A.Type, with: A) -> JetCore.Dependency - func
static satisfying<A where A: AnyObject>(_: A.Type, with: A) -> JetCore.Dependency - func
static satisfying<A>(_: A.Type, with: A) -> JetCore.Dependency - field
let object: Any+0x8 - field
let type: Any.Type+0x0 - init
init<A where A: JetCore.AsyncOnlyAsDependency>(satisfying: A.Type, with: A) -> JetCore.Dependency - init
init<A>(satisfying: A.Type, with: A) -> JetCore.Dependency - init
init<A where A: Sendable>(_satisfying: A.Type, with: @Sendable () async throws -> A) -> JetCore.Dependency - init
init<A>(_satisfying: A.Type, with: () -> A) -> JetCore.Dependency - init
init<A where A: JetCore.SyncDependency>(satisfyingSync: A.Type, with: @Sendable () -> A) -> JetCore.Dependency - init
init<A where A: JetCore.SyncThrowingDependency>(satisfyingSyncThrowing: A.Type, with: @Sendable () throws -> A) -> JetCore.Dependency - init
init<A where A: JetCore.AsyncThrowingDependency, A: Sendable>(satisfyingAsyncThrowing: A.Type, with: @Sendable () async throws -> A) -> JetCore.Dependency - init
init<A where A: JetCore.NoAsyncAsDependency, A: Sendable>(satisfying: A.Type, with: @Sendable () async throws -> A) -> JetCore.Dependency - init
init<A where A: Sendable>(satisfying: A.Type, with: @Sendable () async throws -> A) -> JetCore.Dependency - init
init<A where A: JetCore.AsyncOnlyAsDependency>(satisfying: A.Type, with: () -> A) -> JetCore.Dependency - init
init<A>(satisfying: A.Type, with: () -> A) -> JetCore.Dependency - var
var typeDescription: String { get }
Header
struct Dependency { enum _Personality { case eagerSync case lazySync case lazyAsync } let type: any Any.Type let object: Any init<A>(satisfying: A.Type, with: A) where A: JetCore.AsyncOnlyAsDependency init<A>(satisfying: A.Type, with: A) init<A>(_satisfying: A.Type, with: @escaping @Sendable () async throws -> A) where A: Swift.Sendable init<A>(_satisfying: A.Type, with: @escaping () -> A) init<A>(satisfyingSync: A.Type, with: @escaping @Sendable () -> A) where A: JetCore.SyncDependency init<A>(satisfyingSyncThrowing: A.Type, with: @escaping @Sendable () throws -> A) where A: JetCore.SyncThrowingDependency init<A>(satisfyingAsyncThrowing: A.Type, with: @escaping @Sendable () async throws -> A) where A: JetCore.AsyncThrowingDependency, A: Swift.Sendable var typeDescription: Swift.String { get } static func satisfying<A>(_: A.Type, with: A) -> JetCore.Dependency where A: JetCore.Injectable static func satisfying<A>(_: A.Type, with: A) -> JetCore.Dependency where A: AnyObject static func satisfying<A>(_: A.Type, with: A) -> JetCore.Dependency }