Trait HtmlMetaAttributes

Source
pub trait HtmlMetaAttributes: SetAttribute + Sized {
    // Provided methods
    fn charset(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn content(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn http_equiv(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn name(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

Trait that provides attributes for the <meta> HTML element.

Provided Methods§

Source

fn charset(self, value: impl Into<StringAttribute>) -> Self

Source

fn content(self, value: impl Into<StringAttribute>) -> Self

Source

fn http_equiv(self, value: impl Into<StringAttribute>) -> Self

Source

fn name(self, value: impl Into<StringAttribute>) -> Self

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.

Implementors§