ContainerElement
HTML.ContainerElement.swift:4@frozen enum ContainerElement@frozen enum ContainerElementimport DOMThis module defines the basic infrastructure common to all DOM encoding interfaces.
@frozen struct HTMLcase htmlcase headcase bodycase acase abbrcase audiocase bcase bdicase bdocase addresscase articlecase asidecase blockquotecase buttoncase canvascase captioncase codecase colgroupcase citecase datacase datalistcase delcase detailscase dialogcase dfncase divcase dlcase dtcase ddcase emcase embedcase fieldsetcase figcaptioncase figurecase footercase formcase h1case h2case h3case h4case h5case h6case headercase icase iframecase inscase kbdcase labelcase legendcase licase maincase mapcase markcase menucase metercase navcase noscriptcase olcase objectcase optgroupcase optioncase outputcase pcase picturecase portalcase precase progresscase qcase rpcase rtcase rubycase scase sampcase smallcase sectioncase spancase selectcase slotcase strongcase subcase summarycase supcase tablecase tbodycase tdcase templatecase textareacase tfootcase thcase theadcase timecase titlecase trcase ucase ulcase `var`case video@frozen enum UnsafeElement@frozen enum VoidElementinit() Creates a completely empty HTML document.
init(stringLiteral: String) Creates an HTML document containing the exact contents of the given string literal.
init(with encode: (inout HTML.ContentEncoder) throws -> ()) rethrows Encodes an HTML fragment with the provided closure.
var description: String { get }var encoder: HTML.ContentEncodervar utf8: [UInt8] { get }protocol OutputStreamableprotocol OutputStreamableAnchor : Identifiable, HTML.OutputStreamable where Self.ID == StringA type that adds its id property to its parent element’s id attribute when encoded with single-element subscript assignment. Behaves identically to an ordinary HTML.OutputStreamable value when streamed to an HTML.ContentEncoder.
protocol OutputStreamableHeading<Display> : HTML.OutputStreamableAnchorA type that wraps its display value in an a element with href set to a fragment pointing to its id value.
@frozen enum Attribute@dynamicMemberLookup @frozen struct AttributeEncoder@frozen struct ContentEncoderprotocol BitwiseCopyable : ~Escapableprotocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
init?(rawValue: String) var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)