ConcreteTerm
public struct ConcreteTerm : TermProtocol
extension ConcreteTerm: CustomStringConvertible
A box wrapping a concrete compile-time value.
-
The value of the term.
WARNING: Don’t use downcasts from AnyHashableAndSendable directly, only on its wrapped
.anyHashableobject..sendableValue as? Twould try to downcast the user-defined AnyHashableAndSendable type, which doesn’t work like downcastingAnyHashable.Declaration
Swift
private let sendableValue: AnyHashableAndSendable -
The value of the term.
Declaration
Swift
public var value: AnyHashable { get } -
Creates an instance with the given value.
Declaration
Swift
public init(wrapping value: some Hashable & Sendable) -
Declaration
Swift
public var flags: ValueFlags { get } -
Declaration
Swift
public var description: String { get }
View on GitHub