SwiftstructJetEngine

struct JetEngine.MapPreferenceMigrationRule

Structure

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

Members 3

  1. fieldlet mapper: (A) throws -> B+0x20
  2. fieldlet newKey: JetEngine.PreferenceKey<B>+0x10
  3. fieldlet oldKey: JetEngine.PreferenceKey<A>+0x0
struct MapPreferenceMigrationRule<A, B> {
    let oldKey: JetEngine.PreferenceKey<A>
    let newKey: JetEngine.PreferenceKey<B>
    let mapper: (_: A) throws -> B
}