encodeAtomicRepresentation(_:)
Destroys a value of Self and prepares an AtomicRepresentation storage type to be used for atomic operations.
Declaration
static func encodeAtomicRepresentation(_ value: consuming Unmanaged<Instance>) -> Unmanaged<Instance>.AtomicRepresentationParameters
- value:
A valid instance of
Selfthat’s about to be destroyed to encode an instance of itsAtomicRepresentation.
Return Value
The newly encoded AtomicRepresentation storage.