Struct html::forms::builders::TextAreaBuilder
source · pub struct TextAreaBuilder { /* private fields */ }Expand description
A builder struct for TextArea
Implementations§
source§impl TextAreaBuilder
impl TextAreaBuilder
sourcepub fn data(
&mut self,
data_key: impl Into<Cow<'static, str>>,
value: impl Into<Cow<'static, str>>
) -> &mut TextAreaBuilder
pub fn data( &mut self, data_key: impl Into<Cow<'static, str>>, value: impl Into<Cow<'static, str>> ) -> &mut TextAreaBuilder
Insert a data-* property
sourcepub fn autocomplete(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn autocomplete(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the autocomplete attribute
sourcepub fn dir_name(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn dir_name(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the dirname attribute
sourcepub fn form(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn form(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the form attribute
sourcepub fn max_length(&mut self, value: i64) -> &mut Self
pub fn max_length(&mut self, value: i64) -> &mut Self
Set the value of the maxlength attribute
sourcepub fn min_length(&mut self, value: i64) -> &mut Self
pub fn min_length(&mut self, value: i64) -> &mut Self
Set the value of the minlength attribute
sourcepub fn name(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn name(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the name attribute
sourcepub fn placeholder(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn placeholder(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the placeholder attribute
sourcepub fn wrap(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn wrap(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the wrap attribute
sourcepub fn access_key(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn access_key(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the accesskey attribute
sourcepub fn auto_capitalize(
&mut self,
value: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn auto_capitalize( &mut self, value: impl Into<Cow<'static, str>> ) -> &mut Self
Set the value of the autocapitalize attribute
sourcepub fn class(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn class(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the class attribute
sourcepub fn content_editable(
&mut self,
value: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn content_editable( &mut self, value: impl Into<Cow<'static, str>> ) -> &mut Self
Set the value of the contenteditable attribute
sourcepub fn direction(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn direction(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the dir attribute
sourcepub fn enter_key_hint(
&mut self,
value: impl Into<Cow<'static, str>>
) -> &mut Self
pub fn enter_key_hint( &mut self, value: impl Into<Cow<'static, str>> ) -> &mut Self
Set the value of the enterkeyhint attribute
sourcepub fn export_parts(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn export_parts(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the exportparts attribute
Set the value of the hidden attribute
sourcepub fn id(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn id(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the id attribute
sourcepub fn input_mode(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn input_mode(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the inputmode attribute
sourcepub fn is_(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn is_(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the is attribute
sourcepub fn item_id(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn item_id(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the itemid attribute
sourcepub fn item_prop(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn item_prop(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the itemprop attribute
sourcepub fn item_ref(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn item_ref(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the itemref attribute
sourcepub fn item_scope(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn item_scope(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the itemscope attribute
sourcepub fn item_type(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn item_type(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the itemtype attribute
sourcepub fn lang(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn lang(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the lang attribute
sourcepub fn nonce(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn nonce(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the nonce attribute
sourcepub fn part(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn part(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the part attribute
sourcepub fn slot(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn slot(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the slot attribute
sourcepub fn spellcheck(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn spellcheck(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the spellcheck attribute
sourcepub fn style(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
pub fn style(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self
Set the value of the style attribute