Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / RENDERING, VIEWPORTS, AND COMPOSITION
RecordingBackend
A byte backend for ordinary importing clients to inspect terminal output.
Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.
Members on this page
Feature guides and release status
RecordingBackend
struct RecordingBackendConforms to: weft.Backend.
A byte backend for ordinary importing clients to inspect terminal output.
Source · RecordingBackend.swift:5writes
var writes: [Data] { get }A public field of this type. Its value type and mutability are shown in the declaration.
Source · RecordingBackend.swift:6data
var data: Data { get }A public field of this type. Its value type and mutability are shown in the declaration.
Source · RecordingBackend.swift:7init()
init()Creates a value with the supplied arguments. Default arguments are shown in the declaration.
Source · RecordingBackend.swift:9write(_:)
mutating func write(_ data: Data)Appends bytes for inspection without a terminal session.
Parameters (1)
data- Bytes to write in order.
reset()
mutating func reset()Clears the recorded byte history.
Source · RecordingBackend.swift:15