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