Trait HtmlTextareaAttributes

Source
pub trait HtmlTextareaAttributes: SetAttribute + Sized {
Show 17 methods // Provided methods fn autocomplete(self, value: impl Into<StringAttribute>) -> Self { ... } fn autofocus(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn cols(self, value: impl Into<StringAttribute>) -> Self { ... } fn disabled(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn form(self, value: impl Into<StringAttribute>) -> Self { ... } fn initial_value(self, value: impl Into<StringAttribute>) -> Self { ... } fn maxlength(self, value: impl Into<StringAttribute>) -> Self { ... } fn minlength(self, value: impl Into<StringAttribute>) -> Self { ... } fn name(self, value: impl Into<StringAttribute>) -> Self { ... } fn placeholder(self, value: impl Into<StringAttribute>) -> Self { ... } fn readonly(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn required(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn rows(self, value: impl Into<StringAttribute>) -> Self { ... } fn spellcheck(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn type(self, value: impl Into<StringAttribute>) -> Self { ... } fn value(self, value: impl Into<StringAttribute>) -> Self { ... } fn wrap(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

Trait that provides attributes for the <textarea> 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 cols(self, value: impl Into<StringAttribute>) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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