-
Writes a textual representation of
selfintooutputusing the given style.Declaration
Swift
func render<Output: TextOutputStream>( into output: inout Output, style: Diagnostic.TextOutputStyle = .unstyled ) -
Returns a textual representation of
selfusing the given style.Declaration
Swift
public func rendered(style: Diagnostic.TextOutputStyle = .unstyled) -> String
View on GitHub