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

Flex

How unused cells surround allocated layout regions.

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

Flex

Enumeration
enum Flex

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

How unused cells surround allocated layout regions.

Source · Layout.swift:10

start

Case
case start

The start case. Associated values, if any, are shown in the declaration.

Source · Layout.swift:11

end

Case
case end

The end case. Associated values, if any, are shown in the declaration.

Source · Layout.swift:12

center

Case
case center

The center case. Associated values, if any, are shown in the declaration.

Source · Layout.swift:13

spaceBetween

Case
case spaceBetween

The space between case. Associated values, if any, are shown in the declaration.

Source · Layout.swift:14

spaceAround

Case
case spaceAround

The space around case. Associated values, if any, are shown in the declaration.

Source · Layout.swift:15

spaceEvenly

Case
case spaceEvenly

The space evenly case. Associated values, if any, are shown in the declaration.

Source · Layout.swift:16