EnumerationFoundation5.9.0
PartOfSpeech
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
enum PartOfSpeech
Citizens in Foundation
Conformances
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
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable
A type that can be converted to and from an associated raw value.
Members
case abbreviation
case adjective
case adposition
case adverb
case conjunction
case determiner
case interjection
case letter
case noun
case numeral
case particle
case preposition
case pronoun
case verb
init(from: Decoder
) throws init?(rawValue: Int
) func encode(to: Encoder
) throws
Features
init(from: Decoder
) throws Creates a new instance by decoding from the given decoder, when the type’s
RawValue
isInt
.var hashValue: Int
static func != (Self, Self
) -> Bool func hash(into: inout Hasher
)