Struct web_sys::HtmlTableSectionElement
source · #[repr(transparent)]pub struct HtmlTableSectionElement { /* private fields */ }
Expand description
The HTMLTableSectionElement
object
This API requires the following crate features to be activated: HtmlTableSectionElement
Implementations§
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
sourcepub fn insert_row(&self) -> Result<HtmlElement, JsValue>
pub fn insert_row(&self) -> Result<HtmlElement, JsValue>
The insertRow()
method
This API requires the following crate features to be activated: HtmlElement
, HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
sourcepub fn insert_row_with_index(&self, index: i32) -> Result<HtmlElement, JsValue>
pub fn insert_row_with_index(&self, index: i32) -> Result<HtmlElement, JsValue>
The insertRow()
method
This API requires the following crate features to be activated: HtmlElement
, HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
sourcepub fn rows(&self) -> HtmlCollection
pub fn rows(&self) -> HtmlCollection
The rows
getter
This API requires the following crate features to be activated: HtmlCollection
, HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
sourcepub fn set_ch_off(&self, ch_off: &str)
pub fn set_ch_off(&self, ch_off: &str)
The chOff
setter
This API requires the following crate features to be activated: HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
source§impl HtmlTableSectionElement
impl HtmlTableSectionElement
sourcepub fn set_v_align(&self, v_align: &str)
pub fn set_v_align(&self, v_align: &str)
The vAlign
setter
This API requires the following crate features to be activated: HtmlTableSectionElement
Trait Implementations§
source§impl AsRef<Element> for HtmlTableSectionElement
impl AsRef<Element> for HtmlTableSectionElement
source§impl AsRef<EventTarget> for HtmlTableSectionElement
impl AsRef<EventTarget> for HtmlTableSectionElement
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 HtmlTableSectionElement
impl AsRef<HtmlElement> for HtmlTableSectionElement
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 HtmlTableSectionElement
impl AsRef<JsValue> for HtmlTableSectionElement
source§impl AsRef<Node> for HtmlTableSectionElement
impl AsRef<Node> for HtmlTableSectionElement
source§impl AsRef<Object> for HtmlTableSectionElement
impl AsRef<Object> for HtmlTableSectionElement
source§impl Clone for HtmlTableSectionElement
impl Clone for HtmlTableSectionElement
source§fn clone(&self) -> HtmlTableSectionElement
fn clone(&self) -> HtmlTableSectionElement
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 HtmlTableSectionElement
impl Debug for HtmlTableSectionElement
source§impl From<HtmlTableSectionElement> for Element
impl From<HtmlTableSectionElement> for Element
source§fn from(obj: HtmlTableSectionElement) -> Element
fn from(obj: HtmlTableSectionElement) -> Element
Converts to this type from the input type.
source§impl From<HtmlTableSectionElement> for EventTarget
impl From<HtmlTableSectionElement> for EventTarget
source§fn from(obj: HtmlTableSectionElement) -> EventTarget
fn from(obj: HtmlTableSectionElement) -> EventTarget
Converts to this type from the input type.
source§impl From<HtmlTableSectionElement> for HtmlElement
impl From<HtmlTableSectionElement> for HtmlElement
source§fn from(obj: HtmlTableSectionElement) -> HtmlElement
fn from(obj: HtmlTableSectionElement) -> HtmlElement
Converts to this type from the input type.
source§impl From<HtmlTableSectionElement> for JsValue
impl From<HtmlTableSectionElement> for JsValue
source§fn from(obj: HtmlTableSectionElement) -> JsValue
fn from(obj: HtmlTableSectionElement) -> JsValue
Converts to this type from the input type.
source§impl From<HtmlTableSectionElement> for Node
impl From<HtmlTableSectionElement> for Node
source§fn from(obj: HtmlTableSectionElement) -> Node
fn from(obj: HtmlTableSectionElement) -> Node
Converts to this type from the input type.
source§impl From<HtmlTableSectionElement> for Object
impl From<HtmlTableSectionElement> for Object
source§fn from(obj: HtmlTableSectionElement) -> Object
fn from(obj: HtmlTableSectionElement) -> Object
Converts to this type from the input type.
source§impl From<JsValue> for HtmlTableSectionElement
impl From<JsValue> for HtmlTableSectionElement
source§fn from(obj: JsValue) -> HtmlTableSectionElement
fn from(obj: JsValue) -> HtmlTableSectionElement
Converts to this type from the input type.
source§impl<'a> IntoWasmAbi for &'a HtmlTableSectionElement
impl<'a> IntoWasmAbi for &'a HtmlTableSectionElement
source§impl JsCast for HtmlTableSectionElement
impl JsCast for HtmlTableSectionElement
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<'a> OptionIntoWasmAbi for &'a HtmlTableSectionElement
impl<'a> OptionIntoWasmAbi for &'a HtmlTableSectionElement
source§impl RefFromWasmAbi for HtmlTableSectionElement
impl RefFromWasmAbi for HtmlTableSectionElement
§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<HtmlTableSectionElement>
type Anchor = ManuallyDrop<HtmlTableSectionElement>
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 HtmlTableSectionElement
impl Send for HtmlTableSectionElement
impl Sync for HtmlTableSectionElement
impl Unpin for HtmlTableSectionElement
impl UnwindSafe for HtmlTableSectionElement
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