ExpressibleByStringInterpolation
public protocol ExpressibleByStringInterpolationMarker protocol for types constructible from a completed string interpolation.
Refines ExpressibleByStringLiteral so a single conformance covers
both pure-literal "abc" and interpolated "a\{x}b" forms. The
compiler picks Interpolation as the accumulator type, drives it via
Interpolatable, then hands it to init(interpolation:).
Associated Types
type Interpolation
type InterpolationThe accumulator type used to build interpolated values of Self.
Initializers
init(Interpolation)
init(Interpolation)Constructs Self from a fully built interpolation accumulator.
ImplementsExpressibleByStringLiteral
Initializers
init(stringLiteral: lang.ptr[lang.i8], lang.i64)
init(stringLiteral: lang.ptr[lang.i8], lang.i64)Builds an instance from a string literal.
Defined in lang/std/text/format.ks