Skip to main content

Crate topcoat_view

Crate topcoat_view 

Source

Modules§

svg

Structs§

Attribute
A single HTML attribute.
Attributes
A runtime collection of HTML attributes with unique keys.
Class
A space-separated list of HTML classes.
ClassWriter
A writer that separates class list entries with single spaces.
Formatter
A plain string writer that render output accumulates into.
HtmlWriter
A writer created by HtmlContext::writer that makes everything written to it safe for its context before appending it to the underlying Formatter.
Length
A CSS length: a numeric value paired with a LengthUnit.
PartsWriter
A context-carrying writer over a view-parts buffer, created per position.
Set
Typestate marker for a required property that has been set.
Unescaped
A wrapper that marks its contents as already-safe HTML.
View
A self-contained piece of HTML content.

Enums§

HtmlContext
The position in an HTML document that a dynamic value is written into.
LengthUnit
A CSS length unit.
ViewPart
A renderable value stored in a View.

Traits§

AttributeKeyViewParts
Converts a value used as an attribute key into view parts.
AttributeValueViewParts
Converts a value used as an attribute value into view parts.
AttributeViewParts
Converts one or more attributes into view parts.
ClassEntries
One or more class list entries written through a ClassWriter.
ClassViewParts
Converts a value used as a class list entry into view parts.
Component
DynViewPart
A boxed view part that writes its output at render time.
ElementNameViewParts
Converts a value used as an element name into view parts.
IsSet
Implemented by typestate markers of properties that have been set.
NodeViewParts
Converts a value used in node position into view parts.
Props
A props struct with a generated typestate builder.