Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / ADDITIONAL WIDGETS AND TEXT
BorderSymbols
Validated single-cell border glyphs, including junctions for explicit border layers.
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
BorderSymbols
struct BorderSymbolsConforms to: Swift.Sendable, Swift.SendableMetatype.
Validated single-cell border glyphs, including junctions for explicit border layers.
Source · BorderSymbols.swift:2horizontal
let horizontal: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:3vertical
let vertical: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:4topLeft
let topLeft: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:5topRight
let topRight: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:6bottomLeft
let bottomLeft: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:7bottomRight
let bottomRight: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:8topJunction
let topJunction: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:9bottomJunction
let bottomJunction: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:10leftJunction
let leftJunction: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:11rightJunction
let rightJunction: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:12cross
let cross: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:13ValidationError
enum ValidationErrorConforms to: Swift.Error, Swift.Sendable, Swift.SendableMetatype.
A supplied custom border glyph failed printable single-cell validation.
Source · BorderSymbols.swift:15ValidationError.invalidSymbol(_:)
case invalidSymbol(String)The invalid symbol case. Associated values, if any, are shown in the declaration.
Source · BorderSymbols.swift:15init(horizontal:vertical:topLeft:topRight:bottomLeft:bottomRight:topJunction:bottomJunction:leftJunction:rightJunction:cross:)
init(horizontal: String, vertical: String, topLeft: String, topRight: String, bottomLeft: String, bottomRight: String, topJunction: String = "+", bottomJunction: String = "+", leftJunction: String = "+", rightJunction: String = "+", cross: String = "+") throwsCreates a value with the supplied arguments. Default arguments are shown in the declaration.
Parameters (11)
horizontal- Argument type and any default are shown in the declaration; see the behavior notes above.
vertical- Argument type and any default are shown in the declaration; see the behavior notes above.
topLeft- Argument type and any default are shown in the declaration; see the behavior notes above.
topRight- Argument type and any default are shown in the declaration; see the behavior notes above.
bottomLeft- Argument type and any default are shown in the declaration; see the behavior notes above.
bottomRight- Argument type and any default are shown in the declaration; see the behavior notes above.
topJunction- Argument type and any default are shown in the declaration; see the behavior notes above.
bottomJunction- Argument type and any default are shown in the declaration; see the behavior notes above.
leftJunction- Argument type and any default are shown in the declaration; see the behavior notes above.
rightJunction- Argument type and any default are shown in the declaration; see the behavior notes above.
cross- Argument type and any default are shown in the declaration; see the behavior notes above.