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

BufferDifference

One changed terminal cell.

Nil marks a coordinate outside that buffer's dimensions.

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

BufferDifference

Structure
struct BufferDifference

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

One changed terminal cell.

Nil marks a coordinate outside that buffer's dimensions.

Source · BufferDifference.swift:6

point

Instance Property
var point: Point

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

Source · BufferDifference.swift:7

before

Instance Property
var before: Cell?

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

Source · BufferDifference.swift:8

after

Instance Property
var after: Cell?

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

Source · BufferDifference.swift:9

init(point:before:after:)

Initializer
init(point: Point, before: Cell?, after: Cell?)

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

Parameters (3)
point
Zero-based terminal-cell position.
before
Argument type and any default are shown in the declaration; see the behavior notes above.
after
Argument type and any default are shown in the declaration; see the behavior notes above.
Source · BufferDifference.swift:11