1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use crate::dom::ElementTag;
mod attributes;
mod attributes_elements_with_ambiguous_names;
mod attributes_with_predefined_values;
mod element;
mod list;
mod nodes;
mod partial_list;
mod render;
pub use attributes::*;
pub use attributes_elements_with_ambiguous_names::*;
pub use attributes_with_predefined_values::*;
pub use element::*;
pub use list::*;
pub use nodes::*;
pub use partial_list::*;
pub use render::*;
#[cfg(feature = "keyed-list")]
mod keyed_list;
#[cfg(feature = "keyed-list")]
pub use keyed_list::*;
#[derive(Copy, Clone)]
pub struct HtmlTag(pub &'static str);
impl ElementTag for HtmlTag {
const NAMESPACE: &'static str = "http://www.w3.org/1999/xhtml";
fn tag_name(&self) -> &str {
self.0
}
}
#[cfg(test)]
pub struct TestHtmlMethods;