---
title: "init(mutating:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/unsafemutablerawpointer/init(mutating:)-7kfot"
---

# init(mutating:)

Creates a new mutable raw pointer from the given immutable raw pointer.

## Declaration

```swift
init(mutating other: UnsafeRawPointer)
```

## Parameters

- `other`: The immutable raw pointer to convert.

## Discussion

Discussion Use this initializer to explicitly convert other to an UnsafeMutableRawPointer instance. This initializer creates a new pointer to the same address as other and performs no allocation or copying.
