SwiftstructJetCore

struct JetCore.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: JetCore.PreferenceKey<B>+0x10
  3. fieldlet oldKey: JetCore.PreferenceKey<A>+0x0
struct MapPreferenceMigrationRule<A, B> {
    let oldKey: JetCore.PreferenceKey<A>
    let newKey: JetCore.PreferenceKey<B>
    let mapper: (_: A) throws -> B
}