#[derive(Debug, Copy, Clone)]
pub enum WidgetType {
Address,
Article,
Aside,
Footer,
Header,
H1,
H2,
H3,
H4,
H5,
H6,
Main,
Nav,
Section,
Blockquote,
Dd,
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,
Rp,
Rt,
Ruby,
S,
Samp,
Small,
Span,
Strong,
Sub,
Sup,
Time,
U,
Var,
Wbr,
Area,
Audio,
Img,
Map,
Track,
Video,
Embed,
Iframe,
Object,
Param,
Picture,
Portal,
Source,
Svg,
Math,
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,
Summary,
Slot,
Template,
}
impl WidgetType {
pub(crate) fn to_str(self) -> String {
format!("{:?}", self).to_ascii_lowercase()
}
}