Structureswift 6.0.3Foundation
CustomPronoun
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct CustomPronoun
struct CustomPronoun
import Foundation
struct Morphology
init()
init(from decoder: any Decoder) throws
var grammaticalGender: Morphology.GrammaticalGender?
var number: Morphology.GrammaticalNumber?
var partOfSpeech: Morphology.PartOfSpeech?
func customPronoun(forLanguage language: String) -> Morphology.CustomPronoun?
func encode(to encoder: any Encoder) throws
mutating func setCustomPronoun(_ pronoun: Morphology.CustomPronoun?, forLanguage language: String) throws
enum GrammaticalGender
enum GrammaticalNumber
enum PartOfSpeech
protocol Copyable
A type whose values can be implicitly or explicitly copied.
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 Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init()
init(from decoder: any Decoder) throws
static func isSupported(forLanguage language: String) -> Bool
static func requiredKeys(forLanguage language: String) -> [PartialKeyPath<Morphology.CustomPronoun>]
var objectForm: String?
var possessiveAdjectiveForm: String?
var possessiveForm: String?
var reflexiveForm: String?
var subjectForm: String?
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.