Trait HtmlAAttributes

Source
pub trait HtmlAAttributes: SetAttribute + Sized {
    // Provided methods
    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 target(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn type(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn ping(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn rel(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

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

Provided Methods§

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 target(self, value: impl Into<StringAttribute>) -> Self

Source

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

Source

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

Source

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