Struct html_sys::HTMLLinkElement
source · pub struct HTMLLinkElement { /* private fields */ }
Implementations§
source§impl HTMLLinkElement
impl HTMLLinkElement
pub fn href(&self) -> String
pub fn set_href(&mut self, value: String)
pub fn crossOrigin(&self) -> String
pub fn set_crossOrigin(&mut self, value: String)
pub fn rel(&self) -> String
pub fn set_rel(&mut self, value: String)
pub fn media(&self) -> String
pub fn set_media(&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)
Methods from Deref<Target = HTMLElement>§
Methods from Deref<Target = Element>§
Methods from Deref<Target = Node>§
Trait Implementations§
source§impl Clone for HTMLLinkElement
impl Clone for HTMLLinkElement
source§fn clone(&self) -> HTMLLinkElement
fn clone(&self) -> HTMLLinkElement
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 HTMLLinkElement
impl Debug for HTMLLinkElement
source§impl Default for HTMLLinkElement
impl Default for HTMLLinkElement
source§fn default() -> HTMLLinkElement
fn default() -> HTMLLinkElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLLinkElement
impl Deref for HTMLLinkElement
source§impl PartialEq<HTMLLinkElement> for HTMLLinkElement
impl PartialEq<HTMLLinkElement> for HTMLLinkElement
source§fn eq(&self, other: &HTMLLinkElement) -> bool
fn eq(&self, other: &HTMLLinkElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.