html-types 0.4.0

HTML Data structures
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::node::{Element, Node};

pub struct Main {}

impl<'a> From<Main> for Node<'a> {
    fn from(_value: Main) -> Self {
        let el = Element::main();
        el.into()
    }
}