Struct web_sys::HtmlEmbedElement
source · #[repr(transparent)]pub struct HtmlEmbedElement { /* private fields */ }
Expand description
The HTMLEmbedElement
object
This API requires the following crate features to be activated: HtmlEmbedElement
Implementations§
source§impl HtmlEmbedElement
impl HtmlEmbedElement
sourcepub fn get_svg_document(&self) -> Option<Document>
pub fn get_svg_document(&self) -> Option<Document>
The getSVGDocument()
method
This API requires the following crate features to be activated: Document
, HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
sourcepub fn set_height(&self, height: &str)
pub fn set_height(&self, height: &str)
The height
setter
This API requires the following crate features to be activated: HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
source§impl HtmlEmbedElement
impl HtmlEmbedElement
Trait Implementations§
source§impl AsRef<Element> for HtmlEmbedElement
impl AsRef<Element> for HtmlEmbedElement
source§impl AsRef<EventTarget> for HtmlEmbedElement
impl AsRef<EventTarget> for HtmlEmbedElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<HtmlElement> for HtmlEmbedElement
impl AsRef<HtmlElement> for HtmlEmbedElement
source§fn as_ref(&self) -> &HtmlElement
fn as_ref(&self) -> &HtmlElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<JsValue> for HtmlEmbedElement
impl AsRef<JsValue> for HtmlEmbedElement
source§impl AsRef<Node> for HtmlEmbedElement
impl AsRef<Node> for HtmlEmbedElement
source§impl AsRef<Object> for HtmlEmbedElement
impl AsRef<Object> for HtmlEmbedElement
source§impl Clone for HtmlEmbedElement
impl Clone for HtmlEmbedElement
source§fn clone(&self) -> HtmlEmbedElement
fn clone(&self) -> HtmlEmbedElement
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 HtmlEmbedElement
impl Debug for HtmlEmbedElement
source§impl From<HtmlEmbedElement> for Element
impl From<HtmlEmbedElement> for Element
source§fn from(obj: HtmlEmbedElement) -> Element
fn from(obj: HtmlEmbedElement) -> Element
Converts to this type from the input type.
source§impl From<HtmlEmbedElement> for EventTarget
impl From<HtmlEmbedElement> for EventTarget
source§fn from(obj: HtmlEmbedElement) -> EventTarget
fn from(obj: HtmlEmbedElement) -> EventTarget
Converts to this type from the input type.
source§impl From<HtmlEmbedElement> for HtmlElement
impl From<HtmlEmbedElement> for HtmlElement
source§fn from(obj: HtmlEmbedElement) -> HtmlElement
fn from(obj: HtmlEmbedElement) -> HtmlElement
Converts to this type from the input type.
source§impl From<HtmlEmbedElement> for JsValue
impl From<HtmlEmbedElement> for JsValue
source§fn from(obj: HtmlEmbedElement) -> JsValue
fn from(obj: HtmlEmbedElement) -> JsValue
Converts to this type from the input type.
source§impl From<HtmlEmbedElement> for Node
impl From<HtmlEmbedElement> for Node
source§fn from(obj: HtmlEmbedElement) -> Node
fn from(obj: HtmlEmbedElement) -> Node
Converts to this type from the input type.
source§impl From<HtmlEmbedElement> for Object
impl From<HtmlEmbedElement> for Object
source§fn from(obj: HtmlEmbedElement) -> Object
fn from(obj: HtmlEmbedElement) -> Object
Converts to this type from the input type.
source§impl From<JsValue> for HtmlEmbedElement
impl From<JsValue> for HtmlEmbedElement
source§fn from(obj: JsValue) -> HtmlEmbedElement
fn from(obj: JsValue) -> HtmlEmbedElement
Converts to this type from the input type.
source§impl FromWasmAbi for HtmlEmbedElement
impl FromWasmAbi for HtmlEmbedElement
source§impl<'a> IntoWasmAbi for &'a HtmlEmbedElement
impl<'a> IntoWasmAbi for &'a HtmlEmbedElement
source§impl IntoWasmAbi for HtmlEmbedElement
impl IntoWasmAbi for HtmlEmbedElement
source§impl JsCast for HtmlEmbedElement
impl JsCast for HtmlEmbedElement
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
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,
Test whether this JS value is an instance of the type
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,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
source§impl OptionFromWasmAbi for HtmlEmbedElement
impl OptionFromWasmAbi for HtmlEmbedElement
source§impl<'a> OptionIntoWasmAbi for &'a HtmlEmbedElement
impl<'a> OptionIntoWasmAbi for &'a HtmlEmbedElement
source§impl OptionIntoWasmAbi for HtmlEmbedElement
impl OptionIntoWasmAbi for HtmlEmbedElement
source§impl RefFromWasmAbi for HtmlEmbedElement
impl RefFromWasmAbi for HtmlEmbedElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to
Self
are recovered from.§type Anchor = ManuallyDrop<HtmlEmbedElement>
type Anchor = ManuallyDrop<HtmlEmbedElement>
The type that holds the reference to
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 HtmlEmbedElement
impl !Send for HtmlEmbedElement
impl !Sync for HtmlEmbedElement
impl Unpin for HtmlEmbedElement
impl UnwindSafe for HtmlEmbedElement
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
Same as
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
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more