SwiftstructJetCore

struct JetCore.CoarselyTimed

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 6

  1. funcstatic JetCore.CoarselyTimed<A where A: Equatable>.== infix(JetCore.CoarselyTimed<A>, JetCore.CoarselyTimed<A>) -> Bool
  2. fieldvar contained: A
  3. fieldvar duration: Foundation.DateInterval
  4. initinit(byTiming: () throws -> A) throws -> JetCore.CoarselyTimed<A>
  5. initinit(byTiming: () async throws -> A) async throws -> JetCore.CoarselyTimed<A>
  6. initinit(contained: A, duration: Foundation.DateInterval) -> JetCore.CoarselyTimed<A>
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)
}