Structure
ConsoleText.StringInterpolation
The type each segment of a string literal containing interpolations should be appended to.
struct StringInterpolation
Overview
The StringLiteralType of an interpolation type must match the StringLiteralType of the conforming type.
Topics
Initializers
init(literalCapacity:interpolationCount:)Creates an empty instance ready to be filled with string literal content.
Instance Properties
Instance Methods
appendInterpolation(_:color:background:isBold:)appendInterpolation(_:style:)appendLiteral(_:)Appends a literal segment to the interpolation.
Relationships
Conforms To
Swift.StringInterpolationProtocol