Struct web_sys::HtmlSlotElement
source · #[repr(transparent)]pub struct HtmlSlotElement { /* private fields */ }
Expand description
The HTMLSlotElement
object
This API requires the following crate features to be activated: HtmlSlotElement
Implementations§
source§impl HtmlSlotElement
impl HtmlSlotElement
Trait Implementations§
source§impl AsRef<Element> for HtmlSlotElement
impl AsRef<Element> for HtmlSlotElement
source§impl AsRef<EventTarget> for HtmlSlotElement
impl AsRef<EventTarget> for HtmlSlotElement
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 HtmlSlotElement
impl AsRef<HtmlElement> for HtmlSlotElement
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 HtmlSlotElement
impl AsRef<JsValue> for HtmlSlotElement
source§impl AsRef<Node> for HtmlSlotElement
impl AsRef<Node> for HtmlSlotElement
source§impl AsRef<Object> for HtmlSlotElement
impl AsRef<Object> for HtmlSlotElement
source§impl Clone for HtmlSlotElement
impl Clone for HtmlSlotElement
source§fn clone(&self) -> HtmlSlotElement
fn clone(&self) -> HtmlSlotElement
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 HtmlSlotElement
impl Debug for HtmlSlotElement
source§impl From<HtmlSlotElement> for Element
impl From<HtmlSlotElement> for Element
source§fn from(obj: HtmlSlotElement) -> Element
fn from(obj: HtmlSlotElement) -> Element
Converts to this type from the input type.
source§impl From<HtmlSlotElement> for EventTarget
impl From<HtmlSlotElement> for EventTarget
source§fn from(obj: HtmlSlotElement) -> EventTarget
fn from(obj: HtmlSlotElement) -> EventTarget
Converts to this type from the input type.
source§impl From<HtmlSlotElement> for HtmlElement
impl From<HtmlSlotElement> for HtmlElement
source§fn from(obj: HtmlSlotElement) -> HtmlElement
fn from(obj: HtmlSlotElement) -> HtmlElement
Converts to this type from the input type.
source§impl From<HtmlSlotElement> for JsValue
impl From<HtmlSlotElement> for JsValue
source§fn from(obj: HtmlSlotElement) -> JsValue
fn from(obj: HtmlSlotElement) -> JsValue
Converts to this type from the input type.
source§impl From<HtmlSlotElement> for Node
impl From<HtmlSlotElement> for Node
source§fn from(obj: HtmlSlotElement) -> Node
fn from(obj: HtmlSlotElement) -> Node
Converts to this type from the input type.
source§impl From<HtmlSlotElement> for Object
impl From<HtmlSlotElement> for Object
source§fn from(obj: HtmlSlotElement) -> Object
fn from(obj: HtmlSlotElement) -> Object
Converts to this type from the input type.
source§impl From<JsValue> for HtmlSlotElement
impl From<JsValue> for HtmlSlotElement
source§fn from(obj: JsValue) -> HtmlSlotElement
fn from(obj: JsValue) -> HtmlSlotElement
Converts to this type from the input type.
source§impl FromWasmAbi for HtmlSlotElement
impl FromWasmAbi for HtmlSlotElement
source§impl<'a> IntoWasmAbi for &'a HtmlSlotElement
impl<'a> IntoWasmAbi for &'a HtmlSlotElement
source§impl IntoWasmAbi for HtmlSlotElement
impl IntoWasmAbi for HtmlSlotElement
source§impl JsCast for HtmlSlotElement
impl JsCast for HtmlSlotElement
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 HtmlSlotElement
impl OptionFromWasmAbi for HtmlSlotElement
source§impl<'a> OptionIntoWasmAbi for &'a HtmlSlotElement
impl<'a> OptionIntoWasmAbi for &'a HtmlSlotElement
source§impl OptionIntoWasmAbi for HtmlSlotElement
impl OptionIntoWasmAbi for HtmlSlotElement
source§impl RefFromWasmAbi for HtmlSlotElement
impl RefFromWasmAbi for HtmlSlotElement
§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<HtmlSlotElement>
type Anchor = ManuallyDrop<HtmlSlotElement>
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 HtmlSlotElement
impl !Send for HtmlSlotElement
impl !Sync for HtmlSlotElement
impl Unpin for HtmlSlotElement
impl UnwindSafe for HtmlSlotElement
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