1 2 3 4 5 6 7 8 9 10 11 12 13 14
mod slugify; mod to_html; mod to_string; #[cfg(feature = "render")] mod yew; #[cfg(feature = "render")] pub use self::yew::{Html, Renderable}; pub trait ToHTML { fn to_html(&self) -> String; } pub trait Slugify { fn slugify(&self) -> String; }