---
title: "init(from:)"
framework: roomplan
role: symbol
role_heading: Initializer
path: "roomplan/capturedstructure/init(from:)"
---

# init(from:)

Creates a captured structure by deserializing the decoder of a prior captured structure.

## Declaration

```swift
init(from decoder: any Decoder) throws
```

## Parameters

- `decoder`: An encoded captured structure object.
