Enumerationswift 6.0.1FoundationEssentials
Symbol
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
enum Symbol
enum Symbol
s20FoundationEssentials15AttributeScopesO0A10AttributesV012NumberFormatE0V06SymbolC0O0H0O
What are these?845BR
import FoundationEssentials
@frozen enum SymbolAttribute
@frozen enum AttributeScopes
struct FoundationAttributes
struct NumberFormatAttributes
case currency
case decimalSeparator
case groupingSeparator
case percent
case sign
static let name: String
typealias Value = AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute.Symbol
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: Int)
init(from decoder: any Decoder) throws
Creates a new instance by decoding from the given decoder, when the type’s RawValue
is Int
.
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func encode(to encoder: any Encoder) throws
Encodes this value into the given encoder, when the type’s RawValue
is Int
.
func hash(into hasher: inout Hasher)