Struct web_sys::HtmlFieldSetElement
source · #[repr(transparent)]pub struct HtmlFieldSetElement { /* private fields */ }
Expand description
The HTMLFieldSetElement
object
This API requires the following crate features to be activated: HtmlFieldSetElement
Implementations§
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
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: HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
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: HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
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: HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
sourcepub fn set_disabled(&self, disabled: bool)
pub fn set_disabled(&self, disabled: bool)
The disabled
setter
This API requires the following crate features to be activated: HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
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: HtmlFieldSetElement
, HtmlFormElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
sourcepub fn elements(&self) -> HtmlCollection
pub fn elements(&self) -> HtmlCollection
The elements
getter
This API requires the following crate features to be activated: HtmlCollection
, HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
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: HtmlFieldSetElement
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
sourcepub fn validity(&self) -> ValidityState
pub fn validity(&self) -> ValidityState
The validity
getter
This API requires the following crate features to be activated: HtmlFieldSetElement
, ValidityState
source§impl HtmlFieldSetElement
impl HtmlFieldSetElement
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: HtmlFieldSetElement
Trait Implementations§
source§impl AsRef<Element> for HtmlFieldSetElement
impl AsRef<Element> for HtmlFieldSetElement
source§impl AsRef<EventTarget> for HtmlFieldSetElement
impl AsRef<EventTarget> for HtmlFieldSetElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<HtmlElement> for HtmlFieldSetElement
impl AsRef<HtmlElement> for HtmlFieldSetElement
source§fn as_ref(&self) -> &HtmlElement
fn as_ref(&self) -> &HtmlElement
source§impl AsRef<JsValue> for HtmlFieldSetElement
impl AsRef<JsValue> for HtmlFieldSetElement
source§impl AsRef<Node> for HtmlFieldSetElement
impl AsRef<Node> for HtmlFieldSetElement
source§impl AsRef<Object> for HtmlFieldSetElement
impl AsRef<Object> for HtmlFieldSetElement
source§impl Clone for HtmlFieldSetElement
impl Clone for HtmlFieldSetElement
source§fn clone(&self) -> HtmlFieldSetElement
fn clone(&self) -> HtmlFieldSetElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HtmlFieldSetElement
impl Debug for HtmlFieldSetElement
source§impl From<HtmlFieldSetElement> for Element
impl From<HtmlFieldSetElement> for Element
source§fn from(obj: HtmlFieldSetElement) -> Element
fn from(obj: HtmlFieldSetElement) -> Element
source§impl From<HtmlFieldSetElement> for EventTarget
impl From<HtmlFieldSetElement> for EventTarget
source§fn from(obj: HtmlFieldSetElement) -> EventTarget
fn from(obj: HtmlFieldSetElement) -> EventTarget
source§impl From<HtmlFieldSetElement> for HtmlElement
impl From<HtmlFieldSetElement> for HtmlElement
source§fn from(obj: HtmlFieldSetElement) -> HtmlElement
fn from(obj: HtmlFieldSetElement) -> HtmlElement
source§impl From<HtmlFieldSetElement> for JsValue
impl From<HtmlFieldSetElement> for JsValue
source§fn from(obj: HtmlFieldSetElement) -> JsValue
fn from(obj: HtmlFieldSetElement) -> JsValue
source§impl From<HtmlFieldSetElement> for Node
impl From<HtmlFieldSetElement> for Node
source§fn from(obj: HtmlFieldSetElement) -> Node
fn from(obj: HtmlFieldSetElement) -> Node
source§impl From<HtmlFieldSetElement> for Object
impl From<HtmlFieldSetElement> for Object
source§fn from(obj: HtmlFieldSetElement) -> Object
fn from(obj: HtmlFieldSetElement) -> Object
source§impl From<JsValue> for HtmlFieldSetElement
impl From<JsValue> for HtmlFieldSetElement
source§fn from(obj: JsValue) -> HtmlFieldSetElement
fn from(obj: JsValue) -> HtmlFieldSetElement
source§impl FromWasmAbi for HtmlFieldSetElement
impl FromWasmAbi for HtmlFieldSetElement
source§impl<'a> IntoWasmAbi for &'a HtmlFieldSetElement
impl<'a> IntoWasmAbi for &'a HtmlFieldSetElement
source§impl IntoWasmAbi for HtmlFieldSetElement
impl IntoWasmAbi for HtmlFieldSetElement
source§impl JsCast for HtmlFieldSetElement
impl JsCast for HtmlFieldSetElement
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 HtmlFieldSetElement
impl<'a> OptionIntoWasmAbi for &'a HtmlFieldSetElement
source§impl RefFromWasmAbi for HtmlFieldSetElement
impl RefFromWasmAbi for HtmlFieldSetElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<HtmlFieldSetElement>
type Anchor = ManuallyDrop<HtmlFieldSetElement>
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 HtmlFieldSetElement
impl !Send for HtmlFieldSetElement
impl !Sync for HtmlFieldSetElement
impl Unpin for HtmlFieldSetElement
impl UnwindSafe for HtmlFieldSetElement
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