Structureswift 6.0.1FoundationEssentials
FormatterCache
struct FormatterCache<Format, FormattingType> where Format : Hashable, Format : Sendable, FormattingType : Sendable
struct FormatterCache<Format, FormattingType> where Format : Hashable, Format : Sendable, FormattingType : Sendable
import FoundationEssentials
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init()
subscript(key: Format) -> FormattingType? { get }
func formatter(for config: Format, creator: () throws -> FormattingType) rethrows -> FormattingType
func removeAllObjects()