Instance Propertysliemeobn.elementary 0.5.0Elementary
_attributes
Html+Elements.swift:71var _attributes: _AttributeStorage
var _attributes: _AttributeStorage
s10Elementary15HTMLVoidElementV11_attributesAA17_AttributeStorageOvp
What are these?69Q08
import Elementary
struct HTMLVoidElement<Tag> where Tag : HTMLTrait.Unpaired
An HTML element that does not contain content.
enum _AttributeStorage
init()
Creates a new HTML void element.
init(_ attribute: HTMLAttribute<Tag>)
Creates a new HTML void element with the specified attribute.
init(_ attributes: HTMLAttribute<Tag>...)
Creates a new HTML void element with the specified attributes.
init(attributes: [HTMLAttribute<Tag>])
Creates a new HTML void element with the specified attributes.
static func _render<Renderer>(_ html: consuming Self, into renderer: inout Renderer, with context: consuming _RenderingContext) where Renderer : _HTMLRendering
static func _render<Renderer>(_ html: consuming Self, into renderer: inout Renderer, with context: consuming _RenderingContext) async throws where Renderer : _AsyncHTMLRendering
typealias Tag = Tag
The type of the HTML tag this element represents.