Trait HtmlFormAttributes
pub trait HtmlFormAttributes: Sized + SetAttribute {
// Provided methods
fn acceptcharset(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn action(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn autocomplete(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn enctype(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn method(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn name(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
fn novalidate(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
fn target(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
}
Expand description
Trait that provides attributes for the <form>
HTML element.
Provided Methods§
fn acceptcharset( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self
fn action(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn autocomplete( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self
fn enctype(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn method(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn name(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn novalidate(self, value: impl Into<MaybeDyn<bool>>) -> Self
fn target(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.