Struct html_sys::HTMLAnchorElement
source · pub struct HTMLAnchorElement { /* private fields */ }
Implementations§
source§impl HTMLAnchorElement
impl HTMLAnchorElement
pub fn target(&self) -> String
pub fn set_target(&mut self, value: String)
pub fn download(&self) -> String
pub fn set_download(&mut self, value: String)
pub fn rel(&self) -> String
pub fn set_rel(&mut self, value: String)
pub fn hreflang(&self) -> String
pub fn set_hreflang(&mut self, value: String)
pub fn ty(&self) -> String
pub fn set_ty(&mut self, value: String)
pub fn text(&self) -> String
pub fn set_text(&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 HTMLAnchorElement
impl Clone for HTMLAnchorElement
source§fn clone(&self) -> HTMLAnchorElement
fn clone(&self) -> HTMLAnchorElement
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 HTMLAnchorElement
impl Debug for HTMLAnchorElement
source§impl Default for HTMLAnchorElement
impl Default for HTMLAnchorElement
source§fn default() -> HTMLAnchorElement
fn default() -> HTMLAnchorElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLAnchorElement
impl Deref for HTMLAnchorElement
source§impl PartialEq<HTMLAnchorElement> for HTMLAnchorElement
impl PartialEq<HTMLAnchorElement> for HTMLAnchorElement
source§fn eq(&self, other: &HTMLAnchorElement) -> bool
fn eq(&self, other: &HTMLAnchorElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.