Struct web_sys::HtmlAreaElement
source · #[repr(transparent)]pub struct HtmlAreaElement { /* private fields */ }
Expand description
The HTMLAreaElement
object
This API requires the following crate features to be activated: HtmlAreaElement
Implementations§
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn set_coords(&self, coords: &str)
pub fn set_coords(&self, coords: &str)
The coords
setter
This API requires the following crate features to be activated: HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn set_target(&self, target: &str)
pub fn set_target(&self, target: &str)
The target
setter
This API requires the following crate features to be activated: HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn set_download(&self, download: &str)
pub fn set_download(&self, download: &str)
The download
setter
This API requires the following crate features to be activated: HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn referrer_policy(&self) -> String
pub fn referrer_policy(&self) -> String
The referrerPolicy
getter
This API requires the following crate features to be activated: HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn set_referrer_policy(&self, referrer_policy: &str)
pub fn set_referrer_policy(&self, referrer_policy: &str)
The referrerPolicy
setter
This API requires the following crate features to be activated: HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn rel_list(&self) -> DomTokenList
pub fn rel_list(&self) -> DomTokenList
The relList
getter
This API requires the following crate features to be activated: DomTokenList
, HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
source§impl HtmlAreaElement
impl HtmlAreaElement
sourcepub fn set_no_href(&self, no_href: bool)
pub fn set_no_href(&self, no_href: bool)
The noHref
setter
This API requires the following crate features to be activated: HtmlAreaElement
Trait Implementations§
source§impl AsRef<Element> for HtmlAreaElement
impl AsRef<Element> for HtmlAreaElement
source§impl AsRef<EventTarget> for HtmlAreaElement
impl AsRef<EventTarget> for HtmlAreaElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<HtmlElement> for HtmlAreaElement
impl AsRef<HtmlElement> for HtmlAreaElement
source§fn as_ref(&self) -> &HtmlElement
fn as_ref(&self) -> &HtmlElement
source§impl AsRef<JsValue> for HtmlAreaElement
impl AsRef<JsValue> for HtmlAreaElement
source§impl AsRef<Node> for HtmlAreaElement
impl AsRef<Node> for HtmlAreaElement
source§impl AsRef<Object> for HtmlAreaElement
impl AsRef<Object> for HtmlAreaElement
source§impl Clone for HtmlAreaElement
impl Clone for HtmlAreaElement
source§fn clone(&self) -> HtmlAreaElement
fn clone(&self) -> HtmlAreaElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HtmlAreaElement
impl Debug for HtmlAreaElement
source§impl From<HtmlAreaElement> for Element
impl From<HtmlAreaElement> for Element
source§fn from(obj: HtmlAreaElement) -> Element
fn from(obj: HtmlAreaElement) -> Element
source§impl From<HtmlAreaElement> for EventTarget
impl From<HtmlAreaElement> for EventTarget
source§fn from(obj: HtmlAreaElement) -> EventTarget
fn from(obj: HtmlAreaElement) -> EventTarget
source§impl From<HtmlAreaElement> for HtmlElement
impl From<HtmlAreaElement> for HtmlElement
source§fn from(obj: HtmlAreaElement) -> HtmlElement
fn from(obj: HtmlAreaElement) -> HtmlElement
source§impl From<HtmlAreaElement> for JsValue
impl From<HtmlAreaElement> for JsValue
source§fn from(obj: HtmlAreaElement) -> JsValue
fn from(obj: HtmlAreaElement) -> JsValue
source§impl From<HtmlAreaElement> for Node
impl From<HtmlAreaElement> for Node
source§fn from(obj: HtmlAreaElement) -> Node
fn from(obj: HtmlAreaElement) -> Node
source§impl From<HtmlAreaElement> for Object
impl From<HtmlAreaElement> for Object
source§fn from(obj: HtmlAreaElement) -> Object
fn from(obj: HtmlAreaElement) -> Object
source§impl From<JsValue> for HtmlAreaElement
impl From<JsValue> for HtmlAreaElement
source§fn from(obj: JsValue) -> HtmlAreaElement
fn from(obj: JsValue) -> HtmlAreaElement
source§impl FromWasmAbi for HtmlAreaElement
impl FromWasmAbi for HtmlAreaElement
source§impl<'a> IntoWasmAbi for &'a HtmlAreaElement
impl<'a> IntoWasmAbi for &'a HtmlAreaElement
source§impl IntoWasmAbi for HtmlAreaElement
impl IntoWasmAbi for HtmlAreaElement
source§impl JsCast for HtmlAreaElement
impl JsCast for HtmlAreaElement
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl OptionFromWasmAbi for HtmlAreaElement
impl OptionFromWasmAbi for HtmlAreaElement
source§impl<'a> OptionIntoWasmAbi for &'a HtmlAreaElement
impl<'a> OptionIntoWasmAbi for &'a HtmlAreaElement
source§impl OptionIntoWasmAbi for HtmlAreaElement
impl OptionIntoWasmAbi for HtmlAreaElement
source§impl RefFromWasmAbi for HtmlAreaElement
impl RefFromWasmAbi for HtmlAreaElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<HtmlAreaElement>
type Anchor = ManuallyDrop<HtmlAreaElement>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for HtmlAreaElement
impl Send for HtmlAreaElement
impl Sync for HtmlAreaElement
impl Unpin for HtmlAreaElement
impl UnwindSafe for HtmlAreaElement
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more