sycamore::prelude

Trait HtmlMeterAttributes

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

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

Provided Methods§

fn value(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self

fn min(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self

fn max(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self

fn low(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self

fn high(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self

fn optimum(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self

fn form(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> 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§