Trait HtmlMeterAttributes

Source
pub trait HtmlMeterAttributes: SetAttribute + Sized {
    // Provided methods
    fn value(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn min(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn max(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn low(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn high(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn optimum(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn form(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

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

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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