SwiftstructCookingKit
struct CookingKit.Catalog
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Equatable
Members 8
- func
static CookingKit.Catalog< where A: Equatable>.== infix(CookingKit.Catalog<A>, CookingKit.Catalog<A>) -> Bool - var
static var empty: CookingKit.Catalog<A> { get } - field
var entries: [A.Identifiable.ID : A]+0x0 - func
CookingKit.Catalog< where A == CookingKit.CookingSession>.mostRecentlyViewedSession() -> CookingKit.CookingSession? - init
init([A.ID : A]) -> CookingKit.Catalog<A> - init
init([A]) -> CookingKit.Catalog<A> - subscript
subscript.getter : (A.ID?) -> A? - var
var description: String { get }
Header
struct Catalog<A> where A: Swift.Identifiable { var entries: [A.ID : A] init(_: [A.ID : A]) init(_: [A]) subscript(_: A.ID?) -> A? { get set } static var empty: CookingKit.Catalog<A> { get } }