SwiftstructJetCore
CoarselyTimed
struct JetCore.CoarselyTimed
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
Members 6
- func
static JetCore.CoarselyTimed<A where A: Equatable>.== infix(JetCore.CoarselyTimed<A>, JetCore.CoarselyTimed<A>) -> Bool - field
var contained: A - field
var duration: Foundation.DateInterval - init
init(byTiming: () throws -> A) throws -> JetCore.CoarselyTimed<A> - init
init(byTiming: () async throws -> A) async throws -> JetCore.CoarselyTimed<A> - init
init(contained: A, duration: Foundation.DateInterval) -> JetCore.CoarselyTimed<A>
Header
struct CoarselyTimed<A> { var contained: A var duration: Foundation.DateInterval init(byTiming: () throws -> A) throws init(byTiming: () async throws -> A) async throws init(contained: A, duration: Foundation.DateInterval) }