Struct script::dom::htmlelement::HTMLElement
source · #[repr(C)]pub struct HTMLElement {
element: Element,
style_decl: MutNullableDom<CSSStyleDeclaration>,
dataset: MutNullableDom<DOMStringMap>,
}
Fields§
§element: Element
§style_decl: MutNullableDom<CSSStyleDeclaration>
§dataset: MutNullableDom<DOMStringMap>
Implementations§
source§impl HTMLElement
impl HTMLElement
fn __assert_parent_type(&self)
source§impl HTMLElement
impl HTMLElement
pub fn new_inherited( tag_name: LocalName, prefix: Option<Prefix>, document: &Document, ) -> HTMLElement
pub fn new_inherited_with_state( state: ElementState, tag_name: LocalName, prefix: Option<Prefix>, document: &Document, ) -> HTMLElement
pub fn new( local_name: LocalName, prefix: Option<Prefix>, document: &Document, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Root<Dom<HTMLElement>>
fn is_body_or_frameset(&self) -> bool
sourcefn get_inner_outer_text(&self, can_gc: CanGc) -> DOMString
fn get_inner_outer_text(&self, can_gc: CanGc) -> DOMString
Calls into the layout engine to generate a plain text representation
of a HTMLElement
as specified when getting the .innerText
or
.outerText
in JavaScript.`
source§impl HTMLElement
impl HTMLElement
pub fn set_custom_attr( &self, name: DOMString, value: DOMString, can_gc: CanGc, ) -> Result<(), Error>
pub fn get_custom_attr(&self, local_name: DOMString) -> Option<DOMString>
pub fn delete_custom_attr(&self, local_name: DOMString)
sourcepub fn is_labelable_element(&self) -> bool
pub fn is_labelable_element(&self) -> bool
sourcepub fn is_form_associated_custom_element(&self) -> bool
pub fn is_form_associated_custom_element(&self) -> bool
sourcepub fn is_listed_element(&self) -> bool
pub fn is_listed_element(&self) -> bool
sourcepub fn is_submittable_element(&self) -> bool
pub fn is_submittable_element(&self) -> bool
pub fn supported_prop_names_custom_attr(&self) -> Vec<DOMString>
pub fn label_at(&self, index: u32) -> Option<Root<Dom<Node>>>
pub fn labels_count(&self) -> u32
pub fn directionality(&self) -> Option<String>
pub fn summary_activation_behavior(&self)
fn is_summary_for_its_parent_details(&self) -> bool
sourcefn rendered_text_fragment(
&self,
input: DOMString,
can_gc: CanGc,
) -> Root<Dom<DocumentFragment>>
fn rendered_text_fragment( &self, input: DOMString, can_gc: CanGc, ) -> Root<Dom<DocumentFragment>>
sourcefn merge_with_the_next_text_node(node: Root<Dom<Node>>)
fn merge_with_the_next_text_node(node: Root<Dom<Node>>)
Checks whether a given DomRoot<Node>
and its next sibling are
of type Text
, and if so merges them into a single Text
node.
https://html.spec.whatwg.org/multipage/#merge-with-the-next-text-node
Trait Implementations§
source§impl Activatable for HTMLElement
impl Activatable for HTMLElement
fn as_element(&self) -> &Element
fn is_instance_activatable(&self) -> bool
fn activation_behavior( &self, _event: &Event, _target: &EventTarget, _can_gc: CanGc, )
fn legacy_pre_activation_behavior(&self) -> Option<InputActivationState>
fn legacy_canceled_activation_behavior( &self, _state_before: Option<InputActivationState>, )
fn enter_formal_activation_state(&self)
fn exit_formal_activation_state(&self)
source§impl Castable for HTMLElement
impl Castable for HTMLElement
source§impl DomObject for HTMLElement
impl DomObject for HTMLElement
source§impl DomObjectWrap for HTMLElement
impl DomObjectWrap for HTMLElement
source§const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<Self>, _: CanGc) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::HTMLElementBinding::HTMLElement_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::htmlelement::HTMLElement>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::htmlelement::HTMLElement>>}
const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<Self>, _: CanGc) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::HTMLElementBinding::HTMLElement_Binding::Wrap as for<'a, 'b> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::option::Option<js::rust::Handle<'b, *mut js::jsapi::JSObject>>, std::boxed::Box<dom::htmlelement::HTMLElement>, script_runtime::CanGc) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::htmlelement::HTMLElement>>}
Function pointer to the general wrap function type
source§impl FormControl for HTMLElement
impl FormControl for HTMLElement
fn form_owner(&self) -> Option<Root<Dom<HTMLFormElement>>>
fn set_form_owner(&self, form: Option<&HTMLFormElement>)
fn to_element(&self) -> &Element
fn is_listed(&self) -> bool
fn set_form_owner_from_parser(&self, form: &HTMLFormElement)
fn reset_form_owner(&self)
fn form_attribute_mutated(&self, mutation: AttributeMutation<'_>)
fn register_if_necessary(&self)
fn unregister_if_necessary(&self)
fn bind_form_control_to_tree(&self)
fn unbind_form_control_from_tree(&self)
fn get_form_attribute<InputFn, OwnerFn>( &self, attr: &LocalName, input: InputFn, owner: OwnerFn, ) -> DOMString
fn get_form_boolean_attribute<InputFn, OwnerFn>( &self, attr: &LocalName, input: InputFn, owner: OwnerFn, ) -> bool
source§impl HTMLElementMethods<DomTypeHolder> for HTMLElement
impl HTMLElementMethods<DomTypeHolder> for HTMLElement
source§fn SetInnerText(&self, input: DOMString, can_gc: CanGc)
fn SetInnerText(&self, input: DOMString, can_gc: CanGc)
source§fn AttachInternals(&self) -> Result<Root<Dom<ElementInternals>>, Error>
fn AttachInternals(&self) -> Result<Root<Dom<ElementInternals>>, Error>
fn Style(&self) -> Root<Dom<CSSStyleDeclaration>>
fn Title(&self) -> DOMString
fn SetTitle(&self, value: DOMString)
fn Lang(&self) -> DOMString
fn SetLang(&self, value: DOMString)
fn Dir(&self) -> DOMString
fn SetDir(&self, value: DOMString)
fn Hidden(&self) -> bool
fn SetHidden(&self, value: bool)
fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnabort(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnanimationend(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnanimationend(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnanimationiteration(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnanimationiteration(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOncancel(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOncancel(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOncanplay(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOncanplay(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOncanplaythrough(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOncanplaythrough(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnchange(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnclick(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnclick(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnclose(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOncuechange(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOncuechange(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndblclick(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndblclick(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndrag(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndrag(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndragend(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndragend(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndragenter(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndragenter(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndragexit(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndragexit(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndragleave(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndragleave(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndragover(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndragover(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndragstart(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndragstart(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndrop(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndrop(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOndurationchange(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOndurationchange(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnemptied(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnemptied(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnended(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnended(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnformdata(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnformdata(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOninput(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOninput(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOninvalid(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOninvalid(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnkeydown(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnkeydown(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnkeypress(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnkeypress(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnkeyup(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnkeyup(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnloadeddata(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnloadeddata(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnloadedmetadata(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnloadedmetadata(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnloadstart(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnloadstart(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmousedown(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmousedown(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmouseenter(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmouseenter(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmouseleave(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmouseleave(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmousemove(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmousemove(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmouseout(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmouseout(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmouseover(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmouseover(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnmouseup(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnmouseup(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnwheel(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnwheel(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnpause(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnpause(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnplay(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnplay(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnplaying(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnplaying(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnprogress(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnprogress(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnratechange(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnratechange(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnreset(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnreset(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnsecuritypolicyviolation(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnsecuritypolicyviolation( &self, listener: Option<Rc<EventHandlerNonNull>>, )
fn GetOnseeked(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnseeked(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnseeking(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnseeking(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnselect(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnselect(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnselectionchange(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnselectionchange(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnselectstart(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnselectstart(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnshow(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnshow(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnstalled(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnstalled(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnsubmit(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnsubmit(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnsuspend(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnsuspend(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOntimeupdate(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOntimeupdate(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOntoggle(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOntoggle(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOntransitioncancel(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOntransitioncancel(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOntransitionend(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOntransitionend(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOntransitionrun(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOntransitionrun(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnvolumechange(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnvolumechange(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnwaiting(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnwaiting(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOncut(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOncut(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOncopy(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOncopy(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnpaste(&self) -> Option<Rc<EventHandlerNonNull>>
fn SetOnpaste(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn Dataset(&self) -> Root<Dom<DOMStringMap>>
fn GetOnerror(&self, can_gc: CanGc) -> Option<Rc<OnErrorEventHandlerNonNull>>
fn SetOnerror(&self, listener: Option<Rc<OnErrorEventHandlerNonNull>>)
fn GetOnload(&self, can_gc: CanGc) -> Option<Rc<EventHandlerNonNull>>
fn SetOnload(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnblur(&self, can_gc: CanGc) -> Option<Rc<EventHandlerNonNull>>
fn SetOnblur(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnfocus(&self, can_gc: CanGc) -> Option<Rc<EventHandlerNonNull>>
fn SetOnfocus(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnresize(&self, can_gc: CanGc) -> Option<Rc<EventHandlerNonNull>>
fn SetOnresize(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn GetOnscroll(&self, can_gc: CanGc) -> Option<Rc<EventHandlerNonNull>>
fn SetOnscroll(&self, listener: Option<Rc<EventHandlerNonNull>>)
fn Itemtypes(&self) -> Option<Vec<DOMString>>
fn PropertyNames(&self) -> Option<Vec<DOMString>>
fn Click(&self, can_gc: CanGc)
fn Focus(&self, can_gc: CanGc)
fn Blur(&self, can_gc: CanGc)
fn GetOffsetParent(&self, can_gc: CanGc) -> Option<Root<Dom<Element>>>
fn OffsetTop(&self, can_gc: CanGc) -> i32
fn OffsetLeft(&self, can_gc: CanGc) -> i32
fn OffsetWidth(&self, can_gc: CanGc) -> i32
fn OffsetHeight(&self, can_gc: CanGc) -> i32
fn Translate(&self) -> bool
fn SetTranslate(&self, yesno: bool, can_gc: CanGc)
fn ContentEditable(&self) -> DOMString
fn SetContentEditable(&self, _: DOMString)
fn IsContentEditable(&self) -> bool
fn Autofocus(&self) -> bool
fn SetAutofocus(&self, autofocus: bool, can_gc: CanGc)
source§impl HasParent for HTMLElement
impl HasParent for HTMLElement
source§impl IDLInterface for HTMLElement
impl IDLInterface for HTMLElement
source§impl MallocSizeOf for HTMLElement
impl MallocSizeOf for HTMLElement
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl MutDomObject for HTMLElement
impl MutDomObject for HTMLElement
source§impl PartialEq for HTMLElement
impl PartialEq for HTMLElement
source§impl ToJSValConvertible for HTMLElement
impl ToJSValConvertible for HTMLElement
source§impl Traceable for HTMLElement
impl Traceable for HTMLElement
source§impl VirtualMethods for HTMLElement
impl VirtualMethods for HTMLElement
source§fn super_type(&self) -> Option<&dyn VirtualMethods>
fn super_type(&self) -> Option<&dyn VirtualMethods>
Returns self as the superclass of the implementation for this trait,
if any.
source§fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation<'_>)
fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation<'_>)
Called when attributes of a node are mutated.
https://dom.spec.whatwg.org/#attribute-is-set
https://dom.spec.whatwg.org/#attribute-is-removed
source§fn bind_to_tree(&self, context: &BindContext)
fn bind_to_tree(&self, context: &BindContext)
Called when a Node is appended to a tree, where ‘tree_connected’ indicates
whether the tree is part of a Document.
source§fn unbind_from_tree(&self, context: &UnbindContext<'_>)
fn unbind_from_tree(&self, context: &UnbindContext<'_>)
Called when a Node is removed from a tree, where ‘tree_connected’
indicates whether the tree is part of a Document.
Implements removing steps:
https://dom.spec.whatwg.org/#concept-node-remove-ext
source§fn parse_plain_attribute(&self, name: &LocalName, value: DOMString) -> AttrValue
fn parse_plain_attribute(&self, name: &LocalName, value: DOMString) -> AttrValue
Returns the right AttrValue variant for the attribute with name
name
on this element.source§fn attribute_affects_presentational_hints(&self, attr: &Attr) -> bool
fn attribute_affects_presentational_hints(&self, attr: &Attr) -> bool
Returns
true
if given attribute attr
affects style of the
given element.source§fn children_changed(&self, mutation: &ChildrenMutation<'_>)
fn children_changed(&self, mutation: &ChildrenMutation<'_>)
Called on the parent when its children are changed.
source§fn handle_event(&self, event: &Event)
fn handle_event(&self, event: &Event)
Called during event dispatch after the bubbling phase completes.
source§fn adopting_steps(&self, old_doc: &Document)
fn adopting_steps(&self, old_doc: &Document)
source§fn cloning_steps(
&self,
copy: &Node,
maybe_doc: Option<&Document>,
clone_children: CloneChildrenFlag,
)
fn cloning_steps( &self, copy: &Node, maybe_doc: Option<&Document>, clone_children: CloneChildrenFlag, )
impl DerivedFrom<Element> for HTMLElement
impl DerivedFrom<EventTarget> for HTMLElement
impl DerivedFrom<HTMLElement> for HTMLAnchorElement
impl DerivedFrom<HTMLElement> for HTMLAreaElement
impl DerivedFrom<HTMLElement> for HTMLAudioElement
impl DerivedFrom<HTMLElement> for HTMLBRElement
impl DerivedFrom<HTMLElement> for HTMLBaseElement
impl DerivedFrom<HTMLElement> for HTMLBodyElement
impl DerivedFrom<HTMLElement> for HTMLButtonElement
impl DerivedFrom<HTMLElement> for HTMLCanvasElement
impl DerivedFrom<HTMLElement> for HTMLDListElement
impl DerivedFrom<HTMLElement> for HTMLDataElement
impl DerivedFrom<HTMLElement> for HTMLDataListElement
impl DerivedFrom<HTMLElement> for HTMLDetailsElement
impl DerivedFrom<HTMLElement> for HTMLDialogElement
impl DerivedFrom<HTMLElement> for HTMLDirectoryElement
impl DerivedFrom<HTMLElement> for HTMLDivElement
impl DerivedFrom<HTMLElement> for HTMLElement
impl DerivedFrom<HTMLElement> for HTMLEmbedElement
impl DerivedFrom<HTMLElement> for HTMLFieldSetElement
impl DerivedFrom<HTMLElement> for HTMLFontElement
impl DerivedFrom<HTMLElement> for HTMLFormElement
impl DerivedFrom<HTMLElement> for HTMLFrameElement
impl DerivedFrom<HTMLElement> for HTMLFrameSetElement
impl DerivedFrom<HTMLElement> for HTMLHRElement
impl DerivedFrom<HTMLElement> for HTMLHeadElement
impl DerivedFrom<HTMLElement> for HTMLHeadingElement
impl DerivedFrom<HTMLElement> for HTMLHtmlElement
impl DerivedFrom<HTMLElement> for HTMLIFrameElement
impl DerivedFrom<HTMLElement> for HTMLImageElement
impl DerivedFrom<HTMLElement> for HTMLInputElement
impl DerivedFrom<HTMLElement> for HTMLLIElement
impl DerivedFrom<HTMLElement> for HTMLLabelElement
impl DerivedFrom<HTMLElement> for HTMLLegendElement
impl DerivedFrom<HTMLElement> for HTMLLinkElement
impl DerivedFrom<HTMLElement> for HTMLMapElement
impl DerivedFrom<HTMLElement> for HTMLMediaElement
impl DerivedFrom<HTMLElement> for HTMLMenuElement
impl DerivedFrom<HTMLElement> for HTMLMetaElement
impl DerivedFrom<HTMLElement> for HTMLMeterElement
impl DerivedFrom<HTMLElement> for HTMLModElement
impl DerivedFrom<HTMLElement> for HTMLOListElement
impl DerivedFrom<HTMLElement> for HTMLObjectElement
impl DerivedFrom<HTMLElement> for HTMLOptGroupElement
impl DerivedFrom<HTMLElement> for HTMLOptionElement
impl DerivedFrom<HTMLElement> for HTMLOutputElement
impl DerivedFrom<HTMLElement> for HTMLParagraphElement
impl DerivedFrom<HTMLElement> for HTMLParamElement
impl DerivedFrom<HTMLElement> for HTMLPictureElement
impl DerivedFrom<HTMLElement> for HTMLPreElement
impl DerivedFrom<HTMLElement> for HTMLProgressElement
impl DerivedFrom<HTMLElement> for HTMLQuoteElement
impl DerivedFrom<HTMLElement> for HTMLScriptElement
impl DerivedFrom<HTMLElement> for HTMLSelectElement
impl DerivedFrom<HTMLElement> for HTMLSourceElement
impl DerivedFrom<HTMLElement> for HTMLSpanElement
impl DerivedFrom<HTMLElement> for HTMLStyleElement
impl DerivedFrom<HTMLElement> for HTMLTableCaptionElement
impl DerivedFrom<HTMLElement> for HTMLTableCellElement
impl DerivedFrom<HTMLElement> for HTMLTableColElement
impl DerivedFrom<HTMLElement> for HTMLTableElement
impl DerivedFrom<HTMLElement> for HTMLTableRowElement
impl DerivedFrom<HTMLElement> for HTMLTableSectionElement
impl DerivedFrom<HTMLElement> for HTMLTemplateElement
impl DerivedFrom<HTMLElement> for HTMLTextAreaElement
impl DerivedFrom<HTMLElement> for HTMLTimeElement
impl DerivedFrom<HTMLElement> for HTMLTitleElement
impl DerivedFrom<HTMLElement> for HTMLTrackElement
impl DerivedFrom<HTMLElement> for HTMLUListElement
impl DerivedFrom<HTMLElement> for HTMLUnknownElement
impl DerivedFrom<HTMLElement> for HTMLVideoElement
impl DerivedFrom<Node> for HTMLElement
impl Eq for HTMLElement
Auto Trait Implementations§
impl !Freeze for HTMLElement
impl !RefUnwindSafe for HTMLElement
impl !Send for HTMLElement
impl !Sync for HTMLElement
impl Unpin for HTMLElement
impl !UnwindSafe for HTMLElement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert