loom & weft
Made for Swift.

Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.

LOOM Unreleased (PR #2) / RENDERING, VIEWPORTS, AND COMPOSITION

TestBackendError

A simulated output failure.

Earlier primitive mutations remain visible for recovery tests.

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

TestBackendError

Structure
struct TestBackendError

Conforms to: Swift.Equatable, Swift.Error, Swift.Sendable, Swift.SendableMetatype.

A simulated output failure.

Earlier primitive mutations remain visible for recovery tests.

Source · TestBackend.swift:12

failure

Instance Property
let failure: TestBackendFailure

A public field of this type. Its value type and mutability are shown in the declaration.

Source · TestBackend.swift:13

init(failure:)

Initializer
init(failure: TestBackendFailure)

Creates a value with the supplied arguments. Default arguments are shown in the declaration.

Parameters (1)
failure
Argument type and any default are shown in the declaration; see the behavior notes above.
Source · TestBackend.swift:15