StructureFoundation5.9.0
Morphology
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct Morphology
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.
Members
init(
) init(from: Decoder
) throws var grammaticalGender: Morphology.GrammaticalGender?
var number: Morphology.GrammaticalNumber?
var partOfSpeech: Morphology.PartOfSpeech?
func customPronoun(forLanguage: String
) -> Morphology.CustomPronoun? func encode(to: Encoder
) throws func setCustomPronoun(Morphology
.CustomPronoun?, forLanguage: String) throws struct CustomPronoun
enum GrammaticalGender
enum GrammaticalNumber
enum PartOfSpeech