Enum seed::dom_entity_names::Tag
source · pub enum Tag {
Show 204 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>),
}
Expand description
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
Header
H1
H2
H3
H4
H5
H6
Hgroup
Main
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>)
Implementations§
Trait Implementations§
source§impl Ord for Tag
impl Ord for Tag
source§impl PartialOrd<Tag> for Tag
impl PartialOrd<Tag> for Tag
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Tag
impl StructuralEq for Tag
impl StructuralPartialEq for Tag
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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.