_Pointer
protocol _Pointer
protocol _Pointer
init?(OpaquePointer?)
Creates a new typed pointer from the given opaque pointer.
init(OpaquePointer)
Creates a new typed pointer from the given opaque pointer.
init(Self)
Creates a new pointer from the given pointer.
init?(Self?)
Creates a new pointer from the given pointer.
init?(bitPattern: UInt)
Creates a new pointer from the given address, specified as a bit pattern.
init?(bitPattern: Int)
Creates a new pointer from the given address, specified as a bit pattern.
var customMirror: Mirror
The custom mirror for this instance.
var debugDescription: String
A textual representation of the pointer, suitable for debugging.
func advanced(by: Int) -> Self
Returns a pointer offset from this pointer by the specified number of instances.
func distance(to: Self) -> Int
Returns the distance from this pointer to the given pointer, counted as instances of the pointer’s Pointee
type.
func hash(into: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
func predecessor() -> Self
Returns a pointer to the previous consecutive instance.
func successor() -> Self
Returns a pointer to the next consecutive instance.
static func != <Other>(Self, Other) -> Bool
Returns a Boolean value indicating whether two pointers represent different memory addresses.
static func < <Other>(Self, Other) -> Bool
Returns a Boolean value indicating whether the first pointer references a memory location earlier than the second pointer references.
static func < (Self, Self) -> Bool
Returns a Boolean value indicating whether the first pointer references a memory location earlier than the second pointer references.
static func <= <Other>(Self, Other) -> Bool
Returns a Boolean value indicating whether the first pointer references a memory location earlier than or same as the second pointer references.
static func == (Self, Self) -> Bool
Returns a Boolean value indicating whether two pointers are equal.
static func == <Other>(Self, Other) -> Bool
Returns a Boolean value indicating whether two pointers represent the same memory address.
static func > <Other>(Self, Other) -> Bool
Returns a Boolean value indicating whether the first pointer references a memory location later than the second pointer references.
static func >= <Other>(Self, Other) -> Bool
Returns a Boolean value indicating whether the first pointer references a memory location later than or same as the second pointer references.