Encoder
extension Encoder
-
Accesses the previously-injected encoding state of type
T.Precondition
selfis the product of someStatefulEncodereon whiche.setState(s)has been called, whereshas typeT.Declaration
Swift
public subscript<T>(state state: T.Type) -> T where T : Sendable { get nonmutating set }
View on GitHub