[][src]Enum seed::dom_entity_names::Tag

pub enum Tag {
    Address,
    Article,
    Aside,
    Footer,
    Header,
    H1,
    H2,
    H3,
    H4,
    H5,
    H6,
    Hgroup,
    Main,
    Nav,
    Section,
    BlockQuote,
    Dd,
    Dir,
    Div,
    Dl,
    Dt,
    FigCaption,
    Figure,
    Hr,
    Li,
    Ol,
    P,
    Pre,
    Ul,
    A,
    Abbr,
    B,
    Bdi,
    Bdo,
    Br,
    Cite,
    Code,
    Data,
    Dfn,
    Em,
    I,
    Kbd,
    Mark,
    Q,
    Rb,
    Rp,
    Rt,
    Rtc,
    Ruby,
    S,
    Samp,
    Small,
    Span,
    Strong,
    Sub,
    Sup,
    Time,
    Tt,
    U,
    Var,
    Wbr,
    Area,
    Audio,
    Img,
    Map,
    Track,
    Video,
    Applet,
    Embed,
    Iframe,
    NoEmbed,
    Object,
    Param,
    Picture,
    Source,
    Canvas,
    NoScript,
    Script,
    Del,
    Ins,
    Caption,
    Col,
    ColGroup,
    Table,
    Tbody,
    Td,
    Tfoot,
    Th,
    Thead,
    Tr,
    Button,
    DataList,
    FieldSet,
    Form,
    Input,
    Label,
    Legend,
    Meter,
    OptGroup,
    Option,
    Output,
    Progress,
    Select,
    TextArea,
    Details,
    Dialog,
    Menu,
    MenuItem,
    Summary,
    Content,
    Element,
    Shadow,
    Slot,
    Template,
    Animate,
    AnimateColor,
    AnimateMotion,
    AnimateTransform,
    Discard,
    Mpath,
    Set,
    Circle,
    Ellipse,
    Line,
    Polygon,
    Polyline,
    Rect,
    Mesh,
    Path,
    Defs,
    G,
    Marker,
    Mask,
    MissingGlyph,
    Pattern,
    Svg,
    Switch,
    Symbol,
    Unknown,
    Desc,
    Metadata,
    Title,
    FeBlend,
    FeColorMatrix,
    FeComponentTransfer,
    FeComposite,
    FeConvolveMatrix,
    FeDiffuseLighting,
    FeDisplacementMap,
    FeDropShadow,
    FeFlood,
    FeFuncA,
    FeFuncB,
    FeFuncG,
    FeFuncR,
    FeGaussianBlur,
    FeImage,
    FeMerge,
    FeMergeNode,
    FeMorphology,
    FeOffset,
    FeSpecularLighting,
    FeTile,
    FeTurbulence,
    FeDistantLight,
    FePointLight,
    FeSpotLight,
    Font,
    FontFace,
    FontFaceFormat,
    FontFaceName,
    FontFaceSrc,
    FontFaceUri,
    HKern,
    VKern,
    LinearGradient,
    MeshGradient,
    RadialGradient,
    Stop,
    Image,
    Use,
    Hatch,
    SolidColor,
    AltGlyph,
    AltGlyphDef,
    AltGlyphItem,
    Glyph,
    GlyphRef,
    TextPath,
    Text,
    TRef,
    TSpan,
    ClipPath,
    ColorProfile,
    Cursor,
    Filter,
    ForeignObject,
    HatchPath,
    MeshPatch,
    MeshRow,
    Style,
    View,
    Placeholder,
    Custom(Cow<'static, str>),
}

The Tag enum restricts element-creation to only valid tags, as defined here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element

Variants

Address
Article
Aside
Footer
Header
H1
H2
H3
H4
H5
H6
Hgroup
Main
Nav
Section
BlockQuote
Dd
Dir
Div
Dl
Dt
FigCaption
Figure
Hr
Li
Ol
P
Pre
Ul
A
Abbr
B
Bdi
Bdo
Br
Cite
Code
Data
Dfn
Em
I
Kbd
Mark
Q
Rb
Rp
Rt
Rtc
Ruby
S
Samp
Small
Span
Strong
Sub
Sup
Time
Tt
U
Var
Wbr
Area
Audio
Img
Map
Track
Video
Applet
Embed
Iframe
NoEmbed
Object
Param
Picture
Source
Canvas
NoScript
Script
Del
Ins
Caption
Col
ColGroup
Table
Tbody
Td
Tfoot
Th
Thead
Tr
Button
DataList
FieldSet
Form
Input
Label
Legend
Meter
OptGroup
Option
Output
Progress
Select
TextArea
Details
Dialog
Menu
MenuItem
Summary
Content
Element
Shadow
Slot
Template
Animate
AnimateColor
AnimateMotion
AnimateTransform
Discard
Mpath
Set
Circle
Ellipse
Line
Polygon
Polyline
Rect
Mesh
Path
Defs
G
Marker
Mask
MissingGlyph
Pattern
Svg
Switch
Symbol
Unknown
Desc
Metadata
Title
FeBlend
FeColorMatrix
FeComponentTransfer
FeComposite
FeConvolveMatrix
FeDiffuseLighting
FeDisplacementMap
FeDropShadow
FeFlood
FeFuncA
FeFuncB
FeFuncG
FeFuncR
FeGaussianBlur
FeImage
FeMerge
FeMergeNode
FeMorphology
FeOffset
FeSpecularLighting
FeTile
FeTurbulence
FeDistantLight
FePointLight
FeSpotLight
Font
FontFace
FontFaceFormat
FontFaceName
FontFaceSrc
FontFaceUri
HKern
VKern
LinearGradient
MeshGradient
RadialGradient
Stop
Image
Use
Hatch
SolidColor
AltGlyph
AltGlyphDef
AltGlyphItem
Glyph
GlyphRef
TextPath
Text
TRef
TSpan
ClipPath
ColorProfile
Cursor
Filter
ForeignObject
HatchPath
MeshPatch
MeshRow
Style
View
Placeholder
Custom(Cow<'static, str>)

Methods

impl Tag[src]

pub fn as_str(&self) -> &str[src]

Trait Implementations

impl Clone for Tag[src]

impl Debug for Tag[src]

impl Display for Tag[src]

impl<T: Into<Cow<'static, str>>> From<T> for Tag[src]

impl PartialEq<Tag> for Tag[src]

impl StructuralPartialEq for Tag[src]

impl<Ms> UpdateEl<El<Ms>> for Tag[src]

This is intended only to be used for the custom! element macro.

Auto Trait Implementations

impl RefUnwindSafe for Tag

impl Send for Tag

impl Sync for Tag

impl Unpin for Tag

impl UnwindSafe for Tag

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.