Creates a new mutable raw pointer from the given immutable raw pointer.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
init(mutating other: Unsafe Raw Pointer)
Parameters
other
The immutable raw pointer to convert.
Discussion
Use this initializer to explicitly convert other
to an Unsafe
instance. This initializer creates a new pointer to the same address as other
and performs no allocation or copying.