SwiftfunclibswiftCoreSwift.UnsafePointer

withMemoryRebound

UnsafePointer.withMemoryRebound<A, B>(to: A1.Type, capacity: Int, _: (UnsafePointer<A1>) throws -> B1) throws -> B1

Structure

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

generic{}

ABA1B1

param{}

  1. 0to:
    metatypeA1.Type
    • basegenericParameterA1
  2. 1capacity:
    structSwift.Int
  3. 2_
    function(UnsafePointer<A1>) throws -> B1throws

result{}

genericParameterB1