Trait HtmlObjectAttributes

Source
pub trait HtmlObjectAttributes: SetAttribute + Sized {
    // Provided methods
    fn data(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn form(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn height(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn name(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn type(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn typemustmatch(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn usemap(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn width(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

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

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn typemustmatch(self, value: impl Into<MaybeDyn<bool>>) -> Self

Source

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

Source

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