---
title: MutableRef
framework: Swift
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: swift/mutableref
---

# MutableRef

A safe mutable reference allowing in-place mutation to an exclusive value.

## Declaration

```swift
@frozen struct MutableRef<Value> where Value : ~Copyable
```

## Topics

### Initializers

- [init(_:)](swift/mutableref/init(_:).md)
- [init(unsafeAddress:mutating:)](swift/mutableref/init(unsafeaddress:mutating:).md)

### Instance Properties

- [value](swift/mutableref/value.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Borrowing

- [Ref](swift/ref.md)
