loom & weft
Made for Swift.

Published release 0.2.1. Unreleased PR #2 reference.

LOOM 0.2.1 / PLOTTING AND CALENDARS

SparklineSymbols

Nine validated single-cell graphemes, indexed from empty through eight eighths.

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

SparklineSymbols

Structure
struct SparklineSymbols

Conforms to: Swift.Sendable, Swift.SendableMetatype.

Nine validated single-cell graphemes, indexed from empty through eight eighths.

Source · Sparkline.swift:23

glyphs

Instance Property
let glyphs: [String]

Laid-out graphemes for this display row.

Source · Sparkline.swift:24

init(_:)

Initializer
init?(_ glyphs: [String])

Rejects wrong counts, wide graphemes and terminal controls.

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

eighths

Type Property
static let eighths: SparklineSymbols

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

Source · Sparkline.swift:32