Enumerationswift 6.0.3Foundation
InflectionRule
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
enum InflectionRule
enum InflectionRule
import Foundation
case automatic
case explicit(Morphology)
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(from decoder: any Decoder) throws
init(morphology: Morphology)
static var canInflectPreferredLocalization: Bool { get }
static func canInflect(language: String) -> Bool
func encode(to encoder: any Encoder) throws
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.