titan_html::tags

Trait IntoTag

Source
pub trait IntoTag: Clone {
    // Required method
    fn into_tag(self) -> Tag;
}

Required Methods§

Source

fn into_tag(self) -> Tag

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntoTag for &'static str

Source§

fn into_tag(self) -> Tag

Implementors§