Showable

protocol Showable

A value with a user-facing textual representation.

Showable powers interpolation-like library APIs such as print; it is not a stable serialization format and implementations may allocate. Sensitive types should avoid exposing raw representation details.

Methods

func show() -> String

Produces the value's human-readable display text.

View Source
func show() -> String