Extension (Enumeration)sliemeobn.elementary 0.3.3all tags
Never (ext)
You’re viewing third-party extensions to Never
, an enum from the Swift standard library.
You can also read the documentation forNever
itself.
extension Never
Extension in Elementary
Conformances
protocol HTML<Tag>
A type that represents HTML content that can be rendered.
protocol HTMLTagDefinition
A type that represents an HTML tag.
Typealiases
Type members
Type features
Show implementation details (2)
Hide implementation details
Show system interfaces (1)
Hide system interfaces
Instance features
func environment<T>(TaskLocal<T>, T
) -> _ModifiedTaskLocal<T, Self> Sets the value of a
TaskLocal
for the duration of rendering the content.func render(
) -> String Renders the HTML content into a single string.
func render(into: some HTMLStreamWriter, chunkSize: Int
) async throws Renders the HTML content into a stream writer.
func renderAsync(
) async throws -> String Renders the HTML content into a single string asynchronously.
func renderFormatted(
) -> String Renders the HTML content into a formatted string.