Struct html_sys::HTMLButtonElement
source · pub struct HTMLButtonElement { /* private fields */ }
Implementations§
source§impl HTMLButtonElement
impl HTMLButtonElement
pub fn autofocus(&self) -> bool
pub fn set_autofocus(&mut self, value: bool)
pub fn disabled(&self) -> bool
pub fn set_disabled(&mut self, value: bool)
pub fn formNoValidate(&self) -> bool
pub fn set_formNoValidate(&mut self, value: bool)
pub fn formTarget(&self) -> String
pub fn set_formTarget(&mut self, value: String)
pub fn name(&self) -> String
pub fn set_name(&mut self, value: String)
pub fn ty(&self) -> String
pub fn set_ty(&mut self, value: String)
pub fn value(&self) -> String
pub fn set_value(&mut self, value: String)
Methods from Deref<Target = HTMLElement>§
Methods from Deref<Target = Element>§
Methods from Deref<Target = Node>§
Trait Implementations§
source§impl Clone for HTMLButtonElement
impl Clone for HTMLButtonElement
source§fn clone(&self) -> HTMLButtonElement
fn clone(&self) -> HTMLButtonElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HTMLButtonElement
impl Debug for HTMLButtonElement
source§impl Default for HTMLButtonElement
impl Default for HTMLButtonElement
source§fn default() -> HTMLButtonElement
fn default() -> HTMLButtonElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLButtonElement
impl Deref for HTMLButtonElement
source§impl PartialEq<HTMLButtonElement> for HTMLButtonElement
impl PartialEq<HTMLButtonElement> for HTMLButtonElement
source§fn eq(&self, other: &HTMLButtonElement) -> bool
fn eq(&self, other: &HTMLButtonElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.