pub enum Tag {
Show 41 variants
Div,
Span,
Button,
Input,
Select,
Option,
Textarea,
Label,
Form,
Header,
Nav,
Main,
Section,
Aside,
Footer,
H1,
H2,
H3,
H4,
H5,
H6,
P,
Ul,
Ol,
Li,
A,
Img,
Audio,
Video,
Svg,
Path,
Canvas,
Table,
Thead,
Tbody,
Tr,
Th,
Td,
Hr,
Br,
Custom(&'static str),
}Expand description
Supported HTML tag variants.
Variants§
Div
Span
Button
Input
Select
Option
Textarea
Label
Form
Header
Main
Section
Aside
H1
H2
H3
H4
H5
H6
P
Ul
Ol
Li
A
Img
Audio
Video
Svg
Path
Canvas
Table
Thead
Tbody
Tr
Th
Td
Hr
Br
Custom(&'static str)
Implementations§
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Forget for Tag
impl Freeze for Tag
impl Move for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.