init(rawValue:)
Creates a new instance with the specified raw value.
PackageDescription.swift:386LanguageTag-initRawValue.mdinit?(rawValue: String)
Parameters
- rawValue
The raw value to use for the new instance.
If there is no value of the type that corresponds with the specified raw value, this initializer returns nil
.
See also
init(stringLiteral: String
) Creates an instance initialized to the given value.
var rawValue: String
The corresponding value of the raw type.
Other members in extension
Type members
init(extendedGraphemeClusterLiteral: String
) Creates an instance initialized to the given value.
init(unicodeScalarLiteral: String
)
Instance members
var description: String
A textual representation of the language tag.