Trait HtmlAreaAttributes

Source
pub trait HtmlAreaAttributes: SetAttribute + Sized {
    // Provided methods
    fn alt(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn coords(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn download(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn href(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn hreflang(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn media(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn referrerpolicy(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn ping(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn rel(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn shape(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn target(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn type(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

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

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn type(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§