Trait HtmlSelectAttributes

Source
pub trait HtmlSelectAttributes: SetAttribute + Sized {
    // Provided methods
    fn autocomplete(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn autofocus(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn disabled(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn form(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn multiple(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn name(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn required(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn size(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn value(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

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

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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