Struct web_sys::HtmlObjectElement
source · #[repr(transparent)]pub struct HtmlObjectElement { /* private fields */ }
Expand description
The HTMLObjectElement
object
This API requires the following crate features to be activated: HtmlObjectElement
Implementations§
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn check_validity(&self) -> bool
pub fn check_validity(&self) -> bool
The checkValidity()
method
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
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
, HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn report_validity(&self) -> bool
pub fn report_validity(&self) -> bool
The reportValidity()
method
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_custom_validity(&self, error: &str)
pub fn set_custom_validity(&self, error: &str)
The setCustomValidity()
method
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn type_must_match(&self) -> bool
pub fn type_must_match(&self) -> bool
The typeMustMatch
getter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_type_must_match(&self, type_must_match: bool)
pub fn set_type_must_match(&self, type_must_match: bool)
The typeMustMatch
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_use_map(&self, use_map: &str)
pub fn set_use_map(&self, use_map: &str)
The useMap
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn form(&self) -> Option<HtmlFormElement>
pub fn form(&self) -> Option<HtmlFormElement>
The form
getter
This API requires the following crate features to be activated: HtmlFormElement
, HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
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: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn content_document(&self) -> Option<Document>
pub fn content_document(&self) -> Option<Document>
The contentDocument
getter
This API requires the following crate features to be activated: Document
, HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn content_window(&self) -> Option<Window>
pub fn content_window(&self) -> Option<Window>
The contentWindow
getter
This API requires the following crate features to be activated: HtmlObjectElement
, Window
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn will_validate(&self) -> bool
pub fn will_validate(&self) -> bool
The willValidate
getter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn validity(&self) -> ValidityState
pub fn validity(&self) -> ValidityState
The validity
getter
This API requires the following crate features to be activated: HtmlObjectElement
, ValidityState
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn validation_message(&self) -> Result<String, JsValue>
pub fn validation_message(&self) -> Result<String, JsValue>
The validationMessage
getter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_archive(&self, archive: &str)
pub fn set_archive(&self, archive: &str)
The archive
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_declare(&self, declare: bool)
pub fn set_declare(&self, declare: bool)
The declare
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_hspace(&self, hspace: u32)
pub fn set_hspace(&self, hspace: u32)
The hspace
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_standby(&self, standby: &str)
pub fn set_standby(&self, standby: &str)
The standby
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_vspace(&self, vspace: u32)
pub fn set_vspace(&self, vspace: u32)
The vspace
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_code_base(&self, code_base: &str)
pub fn set_code_base(&self, code_base: &str)
The codeBase
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_code_type(&self, code_type: &str)
pub fn set_code_type(&self, code_type: &str)
The codeType
setter
This API requires the following crate features to be activated: HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
source§impl HtmlObjectElement
impl HtmlObjectElement
sourcepub fn set_border(&self, border: &str)
pub fn set_border(&self, border: &str)
The border
setter
This API requires the following crate features to be activated: HtmlObjectElement
Trait Implementations§
source§impl AsRef<Element> for HtmlObjectElement
impl AsRef<Element> for HtmlObjectElement
source§impl AsRef<EventTarget> for HtmlObjectElement
impl AsRef<EventTarget> for HtmlObjectElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<HtmlElement> for HtmlObjectElement
impl AsRef<HtmlElement> for HtmlObjectElement
source§fn as_ref(&self) -> &HtmlElement
fn as_ref(&self) -> &HtmlElement
source§impl AsRef<JsValue> for HtmlObjectElement
impl AsRef<JsValue> for HtmlObjectElement
source§impl AsRef<Node> for HtmlObjectElement
impl AsRef<Node> for HtmlObjectElement
source§impl AsRef<Object> for HtmlObjectElement
impl AsRef<Object> for HtmlObjectElement
source§impl Clone for HtmlObjectElement
impl Clone for HtmlObjectElement
source§fn clone(&self) -> HtmlObjectElement
fn clone(&self) -> HtmlObjectElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HtmlObjectElement
impl Debug for HtmlObjectElement
source§impl From<HtmlObjectElement> for Element
impl From<HtmlObjectElement> for Element
source§fn from(obj: HtmlObjectElement) -> Element
fn from(obj: HtmlObjectElement) -> Element
source§impl From<HtmlObjectElement> for EventTarget
impl From<HtmlObjectElement> for EventTarget
source§fn from(obj: HtmlObjectElement) -> EventTarget
fn from(obj: HtmlObjectElement) -> EventTarget
source§impl From<HtmlObjectElement> for HtmlElement
impl From<HtmlObjectElement> for HtmlElement
source§fn from(obj: HtmlObjectElement) -> HtmlElement
fn from(obj: HtmlObjectElement) -> HtmlElement
source§impl From<HtmlObjectElement> for JsValue
impl From<HtmlObjectElement> for JsValue
source§fn from(obj: HtmlObjectElement) -> JsValue
fn from(obj: HtmlObjectElement) -> JsValue
source§impl From<HtmlObjectElement> for Node
impl From<HtmlObjectElement> for Node
source§fn from(obj: HtmlObjectElement) -> Node
fn from(obj: HtmlObjectElement) -> Node
source§impl From<HtmlObjectElement> for Object
impl From<HtmlObjectElement> for Object
source§fn from(obj: HtmlObjectElement) -> Object
fn from(obj: HtmlObjectElement) -> Object
source§impl From<JsValue> for HtmlObjectElement
impl From<JsValue> for HtmlObjectElement
source§fn from(obj: JsValue) -> HtmlObjectElement
fn from(obj: JsValue) -> HtmlObjectElement
source§impl FromWasmAbi for HtmlObjectElement
impl FromWasmAbi for HtmlObjectElement
source§impl<'a> IntoWasmAbi for &'a HtmlObjectElement
impl<'a> IntoWasmAbi for &'a HtmlObjectElement
source§impl IntoWasmAbi for HtmlObjectElement
impl IntoWasmAbi for HtmlObjectElement
source§impl JsCast for HtmlObjectElement
impl JsCast for HtmlObjectElement
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<'a> OptionIntoWasmAbi for &'a HtmlObjectElement
impl<'a> OptionIntoWasmAbi for &'a HtmlObjectElement
source§impl RefFromWasmAbi for HtmlObjectElement
impl RefFromWasmAbi for HtmlObjectElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<HtmlObjectElement>
type Anchor = ManuallyDrop<HtmlObjectElement>
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 HtmlObjectElement
impl !Send for HtmlObjectElement
impl !Sync for HtmlObjectElement
impl Unpin for HtmlObjectElement
impl UnwindSafe for HtmlObjectElement
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