Struct html_sys::HTMLElement
source · pub struct HTMLElement { /* private fields */ }
Implementations§
source§impl HTMLElement
impl HTMLElement
pub fn title(&self) -> String
pub fn set_title(&mut self, value: String)
pub fn lang(&self) -> String
pub fn set_lang(&mut self, value: String)
pub fn translate(&self) -> bool
pub fn set_translate(&mut self, value: bool)
pub fn dir(&self) -> String
pub fn set_dir(&mut self, value: String)
pub fn accessKey(&self) -> String
pub fn set_accessKey(&mut self, value: String)
pub fn draggable(&self) -> bool
pub fn set_draggable(&mut self, value: bool)
Methods from Deref<Target = Element>§
Methods from Deref<Target = Node>§
Trait Implementations§
source§impl Clone for HTMLElement
impl Clone for HTMLElement
source§fn clone(&self) -> HTMLElement
fn clone(&self) -> HTMLElement
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 HTMLElement
impl Debug for HTMLElement
source§impl Default for HTMLElement
impl Default for HTMLElement
source§fn default() -> HTMLElement
fn default() -> HTMLElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLElement
impl Deref for HTMLElement
source§impl PartialEq<HTMLElement> for HTMLElement
impl PartialEq<HTMLElement> for HTMLElement
source§fn eq(&self, other: &HTMLElement) -> bool
fn eq(&self, other: &HTMLElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.