AnyHashableSendable
A type-erased hashable, sendable value.
struct AnyHashableSendable
A sendable version of AnyHashable
that is useful in working around the limitation that an existential any Hashable
does not conform to Hashable
.
A type-erased hashable, sendable value.
struct AnyHashableSendable
A sendable version of AnyHashable
that is useful in working around the limitation that an existential any Hashable
does not conform to Hashable
.
import ConcurrencyExtras
Useful, testable Swift concurrency.
@dynamicMemberLookup final class LockIsolated<Value>
A generic wrapper for isolating a mutable value with a lock.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomReflectable
A type that explicitly supplies its own mirror.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol ExpressibleByBooleanLiteral
A type that can be initialized with the Boolean literals true
and false
.
protocol ExpressibleByExtendedGraphemeClusterLiteral : ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single extended grapheme cluster.
protocol ExpressibleByFloatLiteral
A type that can be initialized with a floating-point literal.
protocol ExpressibleByIntegerLiteral
A type that can be initialized with an integer literal.
protocol ExpressibleByStringLiteral : ExpressibleByExtendedGraphemeClusterLiteral
A type that can be initialized with a string literal.
protocol ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single Unicode scalar value.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(_ base: any Hashable & Sendable)
Creates a type-erased hashable, sendable value that wraps the given instance.
init(_ base: some Hashable & Sendable)
Creates a type-erased hashable, sendable value that wraps the given instance.
init(booleanLiteral value: Bool)
init(floatLiteral value: Double)
init(integerLiteral value: Int)
init(stringLiteral value: String)
let base: any Hashable & Sendable
var customMirror: Mirror { get }
var debugDescription: String { get }
var description: String { get }
static func == (lhs: `Self`, rhs: `Self`) -> Bool
func _toCustomAnyHashable() -> AnyHashable?
func hash(into hasher: inout Hasher)
init(extendedGraphemeClusterLiteral value: Self.StringLiteralType)
init(unicodeScalarLiteral value: Self.ExtendedGraphemeClusterLiteralType)
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.