sycamore::web::tags

Trait HtmlTextareaAttributes

pub trait HtmlTextareaAttributes: Sized + SetAttribute {
Show 17 methods // Provided methods fn autocomplete( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self { ... } fn autofocus(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn cols(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... } fn disabled(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn form(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... } fn initial_value( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self { ... } fn maxlength( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self { ... } fn minlength( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self { ... } fn name(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... } fn placeholder( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> 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<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... } fn spellcheck(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... } fn type(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... } fn value( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self { ... } fn wrap(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
}
Expand description

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

Provided Methods§

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

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

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

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

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

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

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

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

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

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

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

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

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

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