Initializerswift 6.0.1Swift
init(_:)
init(_ from: UnsafeRawPointer)
Other members in extension
Type members
init<T>(UnsafePointer<T>
) Converts a typed
UnsafePointer
to an opaque C pointer.init?<T>(UnsafePointer<T>?
) Converts a typed
UnsafePointer
to an opaque C pointer.init?(UnsafeRawPointer?
) init?<T>(UnsafeMutablePointer<T>?
) Converts a typed
UnsafeMutablePointer
to an opaque C pointer.init?(UnsafeMutableRawPointer?
) init<T>(UnsafeMutablePointer<T>
) Converts a typed
UnsafeMutablePointer
to an opaque C pointer.init(UnsafeMutableRawPointer
) init?(bitPattern: Int
) Creates a new
OpaquePointer
from the given address, specified as a bit pattern.init?(bitPattern: UInt
) Creates a new
OpaquePointer
from the given address, specified as a bit pattern.static func == (lhs: OpaquePointer, rhs: OpaquePointer
) -> Bool
Instance members
var debugDescription: String
A textual representation of the pointer, suitable for debugging.
func hash(into: inout Hasher
) Hashes the essential components of this value by feeding them into the given hasher.