[][src]Struct arwa::html::HtmlButtonElement

pub struct HtmlButtonElement { /* fields omitted */ }

Methods

impl HtmlButtonElement[src]

pub fn name(&self) -> String[src]

pub fn set_name(&self, name: &str)[src]

pub fn value(&self) -> String[src]

pub fn set_value(&self, value: &str)[src]

pub fn autofocus(&self) -> bool[src]

pub fn set_autofocus(&self, autofocus: bool)[src]

pub fn disabled(&self) -> bool[src]

pub fn set_disabled(&self, disabled: bool)[src]

pub fn form_action(&self) -> String[src]

pub fn set_form_action(&self, form_action: &str)[src]

pub fn form_no_validate(&self) -> bool[src]

pub fn set_form_no_validate(&self, form_no_validate: bool)[src]

pub fn form_target(&self) -> String[src]

pub fn set_form_target(&self, form_target: &str)[src]

pub fn check_validity(&self) -> bool[src]

pub fn report_validity(&self) -> bool[src]

pub fn set_custom_validity(&self, error: &str)[src]

pub fn validity(&self) -> ValidityState[src]

pub fn button_type(&self) -> ButtonType[src]

pub fn set_button_type(&self, button_type: ButtonType)[src]

pub fn form(&self) -> Option<HtmlFormElement>[src]

pub fn form_encoding(&self) -> String[src]

pub fn set_form_encoding(&self, encoding: &str)[src]

pub fn form_method(&self) -> FormMethod[src]

pub fn set_form_method(&self, method: FormMethod)[src]

pub fn validation_message(&self) -> String[src]

pub fn labels(&self) -> Labels[src]

Trait Implementations

impl AsRef<Element> for HtmlButtonElement[src]

impl AsRef<EventTarget> for HtmlButtonElement[src]

impl AsRef<HtmlButtonElement> for HtmlButtonElement[src]

impl AsRef<HtmlElement> for HtmlButtonElement[src]

impl AsRef<Node> for HtmlButtonElement[src]

impl Clone for HtmlButtonElement[src]

impl Element for HtmlButtonElement[src]

impl From<HtmlButtonElement> for HtmlButtonElement[src]

impl From<HtmlButtonElement> for GenericHtmlElement[src]

impl From<HtmlButtonElement> for GenericElement[src]

impl From<HtmlButtonElement> for GenericNode[src]

impl GlobalEventHandlers for HtmlButtonElement[src]

impl HtmlElement for HtmlButtonElement[src]

impl Node for HtmlButtonElement[src]

impl TryFrom<GenericElement> for HtmlButtonElement[src]

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.

impl TryFrom<GenericHtmlElement> for HtmlButtonElement[src]

type Error = InvalidCast<GenericHtmlElement>

The type returned in the event of a conversion error.

impl TryFrom<GenericNode> for HtmlButtonElement[src]

type Error = InvalidCast<GenericNode>

The type returned in the event of a conversion error.

impl Write for HtmlButtonElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.