ahecha_html/html/
doctype.rs

1#[derive(Debug, Clone)]
2pub enum Doctype {
3  Html5,
4}
5
6impl ToString for Doctype {
7  fn to_string(&self) -> String {
8    match self {
9      Doctype::Html5 => "<!DOCTYPE HTML>".to_owned(),
10    }
11  }
12}