Struct html_sys::HTMLScriptElement
source · pub struct HTMLScriptElement { /* private fields */ }
Implementations§
source§impl HTMLScriptElement
impl HTMLScriptElement
pub fn src(&self) -> String
pub fn set_src(&mut self, value: String)
pub fn ty(&self) -> String
pub fn set_ty(&mut self, value: String)
pub fn defer(&self) -> bool
pub fn set_defer(&mut self, value: bool)
pub fn crossOrigin(&self) -> String
pub fn set_crossOrigin(&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 HTMLScriptElement
impl Clone for HTMLScriptElement
source§fn clone(&self) -> HTMLScriptElement
fn clone(&self) -> HTMLScriptElement
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 HTMLScriptElement
impl Debug for HTMLScriptElement
source§impl Default for HTMLScriptElement
impl Default for HTMLScriptElement
source§fn default() -> HTMLScriptElement
fn default() -> HTMLScriptElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLScriptElement
impl Deref for HTMLScriptElement
source§impl PartialEq<HTMLScriptElement> for HTMLScriptElement
impl PartialEq<HTMLScriptElement> for HTMLScriptElement
source§fn eq(&self, other: &HTMLScriptElement) -> bool
fn eq(&self, other: &HTMLScriptElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.