StringLiteralConvertible

protocol StringLiteralConvertible

Conforming types can be initialized with arbitrary string literals.

Inheritance ExtendedGraphemeClusterLiteralConvertible, UnicodeScalarLiteralConvertible View Protocol Hierarchy →
Associated Types
StringLiteralType
ExtendedGraphemeClusterLiteralType
UnicodeScalarLiteralType
Import import Swift

Initializers

init(stringLiteral:) Required

Create an instance initialized to value.

Declaration

init(stringLiteral value: Self.StringLiteralType)
init(extendedGraphemeClusterLiteral:) Required

Create an instance initialized to value.

Declaration

init(extendedGraphemeClusterLiteral value: Self.ExtendedGraphemeClusterLiteralType)

Declared In

ExtendedGraphemeClusterLiteralConvertible
init(unicodeScalarLiteral:) Required

Create an instance initialized to value.

Declaration

init(unicodeScalarLiteral value: Self.UnicodeScalarLiteralType)

Declared In

UnicodeScalarLiteralConvertible