init(mutating:)
Creates a mutable typed pointer referencing the same memory as the given immutable pointer.
Declaration
init?(mutating other: UnsafePointer<Pointee>?)Parameters
- other:
The immutable pointer to convert. If
otherisnil, the result isnil.