FWComponentSnapshotWrapper
public struct FWComponentSnapshotWrapper : Encodable
Wrapper structure for decoding FWComponentSnapshot
.
-
Wrapped component snapshot.
Declaration
Swift
var componentSnapshot: FWComponentSnapshot
-
Initializes the wrapper from a snapshot.
Declaration
Swift
init(_ snapshot: FWComponentSnapshot)
Parameters
snapshot
Snapshot being wrapped.
-
Declaration
Swift
public func encode(to encoder: Encoder) throws