Contents

TupleContent

Content created from a tuple of content to be treated as siblings.

Declaration

@frozen struct TupleContent<each Content>

Overview

You will rarely, if ever, need to create a TupleContent directly. Instead, TupleContent will be constructed on your behalf when using a ContentBuilder.

This type should be conformed to builder DSL protocols to represent tuple content in that DSL.

TupleContent defines a body property of type Never to improve the ergonomics of conforming to multiple DSL protocols, which should all use Never as the universal “primitive body” type.

Topics

Creating tuple content

Getting tuple content

See Also

Supporting content types