[−][src]Enum es_htmlform::types::Attr
An HTML attribute without validation behaviour. The list should be
complete and up-to-date with the latest HTML specifications. HTML
validity is checked when adding the attributes to the fields using
HtmlForm's builder methods.
Variants
Use to add any attribute to any element without validation.
Id(&'a str)Title(&'a str)Placeholder(&'a str)Autocomplete(Autocomplete)Tabindex(i64)StepFloat(f64)StepInt(u64)Size(u64)Width(u64)Height(u64)Rows(u64)Cols(u64)Spellcheck(Spellcheck)Wrap(Wrap)FormAction(&'a str)FormEnctype(&'a str)FormTarget(&'a str)Methods
impl<'a> Attr<'a>[src]
pub fn attrpair(&self) -> (String, String)[src]
pub fn allowed_on(&self, element: &Element) -> bool[src]
Trait Implementations
Auto Trait Implementations
impl<'a> Send for Attr<'a>
impl<'a> Sync for Attr<'a>
impl<'a> Unpin for Attr<'a>
impl<'a> UnwindSafe for Attr<'a>
impl<'a> RefUnwindSafe for Attr<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,