Skip to main content

HtmlAttributes

Trait HtmlAttributes 

Source
pub trait HtmlAttributes {
    // Required method
    fn fmt(self, formatter: &mut HtmlAttributesFormatter<'_, '_>) -> Result;
}

Required Methods§

Source

fn fmt(self, formatter: &mut HtmlAttributesFormatter<'_, '_>) -> Result

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl HtmlAttributes for ()

Source§

fn fmt(self, _formatter: &mut HtmlAttributesFormatter<'_, '_>) -> Result

Source§

impl<N: AsRef<[u8]>, T: HtmlAttributeValue> HtmlAttributes for (N, T)

Source§

fn fmt(self, formatter: &mut HtmlAttributesFormatter<'_, '_>) -> Result

Source§

impl<T: HtmlAttributes> HtmlAttributes for Option<T>

Source§

fn fmt(self, formatter: &mut HtmlAttributesFormatter<'_, '_>) -> Result

Implementors§