Trait DocumentMethods

Source
pub(crate) trait DocumentMethods<D>
where D: DomTypes,
{
Show 274 methods // Required methods fn Implementation( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMImplementation>>; fn URL(&self) -> USVString; fn DocumentURI(&self) -> USVString; fn CompatMode(&self) -> DOMString; fn CharacterSet(&self) -> DOMString; fn Charset(&self) -> DOMString; fn InputEncoding(&self) -> DOMString; fn ContentType(&self) -> DOMString; fn GetDoctype(&self) -> Option<Root<Dom<<D as DomTypes>::DocumentType>>>; fn GetDocumentElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn GetElementsByTagName( &self, qualifiedName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn GetElementsByTagNameNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn GetElementsByClassName( &self, classNames: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn CreateElement( &self, localName: DOMString, options: StringOrElementCreationOptions, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>; fn CreateElementNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, options: StringOrElementCreationOptions, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>; fn CreateDocumentFragment( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DocumentFragment>>; fn CreateTextNode( &self, data: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Text>>; fn CreateCDATASection( &self, data: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::CDATASection>>, Error>; fn CreateComment( &self, data: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Comment>>; fn CreateProcessingInstruction( &self, target: DOMString, data: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::ProcessingInstruction>>, Error>; fn ImportNode( &self, node: &<D as DomTypes>::Node, deep: bool, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>; fn AdoptNode( &self, node: &<D as DomTypes>::Node, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>; fn CreateAttribute( &self, localName: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>; fn CreateAttributeNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>; fn CreateEvent( &self, interface_: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Event>>, Error>; fn CreateRange(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::Range>>; fn CreateNodeIterator( &self, root: &<D as DomTypes>::Node, whatToShow: u32, filter: Option<Rc<NodeFilter<D>>>, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::NodeIterator>>; fn CreateTreeWalker( &self, root: &<D as DomTypes>::Node, whatToShow: u32, filter: Option<Rc<NodeFilter<D>>>, ) -> Root<Dom<<D as DomTypes>::TreeWalker>>; fn GetLocation(&self) -> Option<Root<Dom<<D as DomTypes>::Location>>>; fn Domain(&self) -> DOMString; fn SetDomain(&self, value: DOMString) -> Result<(), Error>; fn Referrer(&self) -> DOMString; fn GetCookie(&self) -> Result<DOMString, Error>; fn SetCookie(&self, value: DOMString) -> Result<(), Error>; fn LastModified(&self) -> DOMString; fn ReadyState(&self) -> DocumentReadyState; fn Title(&self) -> DOMString; fn SetTitle(&self, value: DOMString, _can_gc: CanGc); fn GetBody(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLElement>>>; fn SetBody( &self, value: Option<&<D as DomTypes>::HTMLElement>, _can_gc: CanGc, ) -> Result<(), Error>; fn GetHead(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLHeadElement>>>; fn Images( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Embeds( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Plugins( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Links( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Forms( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Scripts( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn GetElementsByName( &self, elementName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::NodeList>>; fn GetCurrentScript( &self, ) -> Option<Root<Dom<<D as DomTypes>::HTMLScriptElement>>>; fn Open( &self, unused1: Option<DOMString>, unused2: Option<DOMString>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>; fn Open_( &self, url: USVString, name: DOMString, features: DOMString, _can_gc: CanGc, ) -> Result<Option<Root<Dom<<D as DomTypes>::WindowProxy>>>, Error>; fn Close(&self, _can_gc: CanGc) -> Result<(), Error>; fn Write( &self, text: Vec<TrustedHTMLOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>; fn Writeln( &self, text: Vec<TrustedHTMLOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>; fn GetDefaultView(&self) -> Option<Root<Dom<<D as DomTypes>::Window>>>; fn HasFocus(&self) -> bool; fn QueryCommandSupported(&self, commandId: DOMString) -> bool; fn Hidden(&self) -> bool; fn VisibilityState(&self) -> DocumentVisibilityState; fn GetOnreadystatechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnreadystatechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn FgColor(&self) -> DOMString; fn SetFgColor(&self, value: DOMString, _can_gc: CanGc); fn BgColor(&self) -> DOMString; fn SetBgColor(&self, value: DOMString, _can_gc: CanGc); fn Anchors( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Applets( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn Clear(&self); fn CaptureEvents(&self); fn ReleaseEvents(&self); fn FullscreenEnabled(&self) -> bool; fn GetFullscreenElement( &self, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn Fullscreen(&self) -> bool; fn ExitFullscreen(&self, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>; fn GetOnfullscreenchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnfullscreenchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnfullscreenerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnfullscreenerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetScrollingElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn GetSelection( &self, _can_gc: CanGc, ) -> Option<Root<Dom<<D as DomTypes>::Selection>>>; fn ServoGetMediaControls( &self, id: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::ShadowRoot>>, Error>; fn ElementFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn ElementsFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Vec<Root<Dom<<D as DomTypes>::Element>>>; fn GetActiveElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn StyleSheets( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::StyleSheetList>>; fn AdoptedStyleSheets( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, ); fn SetAdoptedStyleSheets( &self, cx: JSContext, value: Handle<'_, Value>, ) -> Result<(), Error>; fn Fonts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::FontFaceSet>>; fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnabort(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnauxclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnauxclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnbeforeinput(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnbeforeinput(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnbeforematch(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnbeforematch(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnbeforetoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnbeforetoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnblur(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnblur(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncanplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncanplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncanplaythrough(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncanplaythrough(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncommand(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncommand(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncontextlost(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncontextlost(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncontextmenu(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncontextmenu(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncontextrestored(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncontextrestored(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncopy(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncopy(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncuechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncuechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOncut(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOncut(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndblclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndblclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndrag(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndrag(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndragend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndragend(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndragenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndragenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndragleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndragleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndragover(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndragover(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndragstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndragstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndrop(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndrop(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOndurationchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOndurationchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnemptied(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnemptied(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnended(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnended(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnerror(&self) -> Option<Rc<OnErrorEventHandlerNonNull<D>>>; fn SetOnerror(&self, value: Option<Rc<OnErrorEventHandlerNonNull<D>>>); fn GetOnfocus(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnfocus(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnformdata(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnformdata(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOninput(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOninput(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOninvalid(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOninvalid(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnkeydown(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnkeydown(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnkeypress(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnkeypress(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnkeyup(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnkeyup(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnload(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnload(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnloadeddata(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnloadeddata(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnloadedmetadata(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnloadedmetadata(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnloadstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnloadstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmousedown(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmousedown(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmouseenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmouseenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmouseleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmouseleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmousemove(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmousemove(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmouseout(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmouseout(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmouseover(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmouseover(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnmouseup(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnmouseup(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnpaste(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnpaste(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnpause(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnpause(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnplaying(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnplaying(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnprogress(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnprogress(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnratechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnratechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnreset(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnreset(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnresize(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnresize(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnscroll(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnscroll(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnscrollend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnscrollend(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnsecuritypolicyviolation(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnsecuritypolicyviolation( &self, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn GetOnseeked(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnseeked(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnseeking(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnseeking(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnselect(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnselect(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnslotchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnslotchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnstalled(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnstalled(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnsubmit(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnsubmit(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnsuspend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnsuspend(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOntimeupdate(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOntimeupdate(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOntoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOntoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnvolumechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnvolumechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnwaiting(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnwaiting(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnwebkitanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnwebkitanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnwebkitanimationiteration( &self, ) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnwebkitanimationiteration( &self, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn GetOnwebkitanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnwebkitanimationstart( &self, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn GetOnwebkittransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnwebkittransitionend( &self, value: Option<Rc<EventHandlerNonNull<D>>>, ); fn GetOnwheel(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnwheel(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnanimationstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnanimationiteration(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnanimationiteration(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnanimationcancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnanimationcancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOntransitionrun(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOntransitionrun(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOntransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOntransitionend(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOntransitioncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOntransitioncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnselectstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnselectstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetOnselectionchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnselectionchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn GetElementById( &self, elementId: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn Children( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>; fn GetFirstElementChild( &self, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn GetLastElementChild(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>; fn ChildElementCount(&self) -> u32; fn Prepend( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>; fn Append( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>; fn ReplaceChildren( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>; fn QuerySelector( &self, selectors: DOMString, ) -> Result<Option<Root<Dom<<D as DomTypes>::Element>>>, Error>; fn QuerySelectorAll( &self, selectors: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::NodeList>>, Error>; fn CreateExpression( &self, expression: DOMString, resolver: Option<Rc<XPathNSResolver<D>>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::XPathExpression>>, Error>; fn CreateNSResolver( &self, nodeResolver: &<D as DomTypes>::Node, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Node>>; fn Evaluate( &self, expression: DOMString, contextNode: &<D as DomTypes>::Node, resolver: Option<Rc<XPathNSResolver<D>>>, type_: u16, result: Option<&<D as DomTypes>::XPathResult>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::XPathResult>>, Error>; fn SupportedPropertyNames(&self) -> Vec<DOMString>; fn NamedGetter( &self, name: DOMString, _can_gc: CanGc, ) -> Option<WindowProxyOrElementOrHTMLCollection<D>>; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>;
}

Required Methods§

Source

fn Implementation( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMImplementation>>

Source

fn URL(&self) -> USVString

Source

fn DocumentURI(&self) -> USVString

Source

fn CompatMode(&self) -> DOMString

Source

fn CharacterSet(&self) -> DOMString

Source

fn Charset(&self) -> DOMString

Source

fn InputEncoding(&self) -> DOMString

Source

fn ContentType(&self) -> DOMString

Source

fn GetDoctype(&self) -> Option<Root<Dom<<D as DomTypes>::DocumentType>>>

Source

fn GetDocumentElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn GetElementsByTagName( &self, qualifiedName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn GetElementsByTagNameNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn GetElementsByClassName( &self, classNames: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn CreateElement( &self, localName: DOMString, options: StringOrElementCreationOptions, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>

Source

fn CreateElementNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, options: StringOrElementCreationOptions, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>

Source

fn CreateDocumentFragment( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DocumentFragment>>

Source

fn CreateTextNode( &self, data: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Text>>

Source

fn CreateCDATASection( &self, data: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::CDATASection>>, Error>

Source

fn CreateComment( &self, data: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Comment>>

Source

fn CreateProcessingInstruction( &self, target: DOMString, data: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::ProcessingInstruction>>, Error>

Source

fn ImportNode( &self, node: &<D as DomTypes>::Node, deep: bool, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>

Source

fn AdoptNode( &self, node: &<D as DomTypes>::Node, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>

Source

fn CreateAttribute( &self, localName: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>

Source

fn CreateAttributeNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>

Source

fn CreateEvent( &self, interface_: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Event>>, Error>

Source

fn CreateRange(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::Range>>

Source

fn CreateNodeIterator( &self, root: &<D as DomTypes>::Node, whatToShow: u32, filter: Option<Rc<NodeFilter<D>>>, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::NodeIterator>>

Source

fn CreateTreeWalker( &self, root: &<D as DomTypes>::Node, whatToShow: u32, filter: Option<Rc<NodeFilter<D>>>, ) -> Root<Dom<<D as DomTypes>::TreeWalker>>

Source

fn GetLocation(&self) -> Option<Root<Dom<<D as DomTypes>::Location>>>

Source

fn Domain(&self) -> DOMString

Source

fn SetDomain(&self, value: DOMString) -> Result<(), Error>

Source

fn Referrer(&self) -> DOMString

Source

fn GetCookie(&self) -> Result<DOMString, Error>

Source

fn SetCookie(&self, value: DOMString) -> Result<(), Error>

Source

fn LastModified(&self) -> DOMString

Source

fn ReadyState(&self) -> DocumentReadyState

Source

fn Title(&self) -> DOMString

Source

fn SetTitle(&self, value: DOMString, _can_gc: CanGc)

Source

fn GetBody(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLElement>>>

Source

fn SetBody( &self, value: Option<&<D as DomTypes>::HTMLElement>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn GetHead(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLHeadElement>>>

Source

fn Images(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn Embeds(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn Plugins(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn Forms(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn Scripts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn GetElementsByName( &self, elementName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::NodeList>>

Source

fn GetCurrentScript( &self, ) -> Option<Root<Dom<<D as DomTypes>::HTMLScriptElement>>>

Source

fn Open( &self, unused1: Option<DOMString>, unused2: Option<DOMString>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>

Source

fn Open_( &self, url: USVString, name: DOMString, features: DOMString, _can_gc: CanGc, ) -> Result<Option<Root<Dom<<D as DomTypes>::WindowProxy>>>, Error>

Source

fn Close(&self, _can_gc: CanGc) -> Result<(), Error>

Source

fn Write( &self, text: Vec<TrustedHTMLOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn Writeln( &self, text: Vec<TrustedHTMLOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn GetDefaultView(&self) -> Option<Root<Dom<<D as DomTypes>::Window>>>

Source

fn HasFocus(&self) -> bool

Source

fn QueryCommandSupported(&self, commandId: DOMString) -> bool

Source

fn Hidden(&self) -> bool

Source

fn VisibilityState(&self) -> DocumentVisibilityState

Source

fn GetOnreadystatechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnreadystatechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn FgColor(&self) -> DOMString

Source

fn SetFgColor(&self, value: DOMString, _can_gc: CanGc)

Source

fn BgColor(&self) -> DOMString

Source

fn SetBgColor(&self, value: DOMString, _can_gc: CanGc)

Source

fn Anchors(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn Applets(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn Clear(&self)

Source

fn CaptureEvents(&self)

Source

fn ReleaseEvents(&self)

Source

fn FullscreenEnabled(&self) -> bool

Source

fn GetFullscreenElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn Fullscreen(&self) -> bool

Source

fn ExitFullscreen(&self, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>

Source

fn GetOnfullscreenchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnfullscreenchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnfullscreenerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnfullscreenerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetScrollingElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn GetSelection( &self, _can_gc: CanGc, ) -> Option<Root<Dom<<D as DomTypes>::Selection>>>

Source

fn ServoGetMediaControls( &self, id: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::ShadowRoot>>, Error>

Source

fn ElementFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn ElementsFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Vec<Root<Dom<<D as DomTypes>::Element>>>

Source

fn GetActiveElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn StyleSheets( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::StyleSheetList>>

Source

fn AdoptedStyleSheets( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, )

Source

fn SetAdoptedStyleSheets( &self, cx: JSContext, value: Handle<'_, Value>, ) -> Result<(), Error>

Source

fn Fonts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::FontFaceSet>>

Source

fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnabort(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnauxclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnauxclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnbeforeinput(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnbeforeinput(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnbeforematch(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnbeforematch(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnbeforetoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnbeforetoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnblur(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnblur(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncanplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncanplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncanplaythrough(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncanplaythrough(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncommand(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncommand(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncontextlost(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncontextlost(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncontextmenu(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncontextmenu(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncontextrestored(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncontextrestored(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncopy(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncopy(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncuechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncuechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOncut(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOncut(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndblclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndblclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndrag(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndrag(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndragend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndragend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndragenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndragenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndragleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndragleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndragover(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndragover(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndragstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndragstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndrop(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndrop(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOndurationchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOndurationchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnemptied(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnemptied(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnended(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnended(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnerror(&self) -> Option<Rc<OnErrorEventHandlerNonNull<D>>>

Source

fn SetOnerror(&self, value: Option<Rc<OnErrorEventHandlerNonNull<D>>>)

Source

fn GetOnfocus(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnfocus(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnformdata(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnformdata(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOninput(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOninput(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOninvalid(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOninvalid(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnkeydown(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnkeydown(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnkeypress(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnkeypress(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnkeyup(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnkeyup(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnload(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnload(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnloadeddata(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnloadeddata(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnloadedmetadata(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnloadedmetadata(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnloadstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnloadstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmousedown(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmousedown(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmouseenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmouseenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmouseleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmouseleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmousemove(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmousemove(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmouseout(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmouseout(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmouseover(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmouseover(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnmouseup(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnmouseup(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnpaste(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnpaste(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnpause(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnpause(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnplaying(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnplaying(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnprogress(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnprogress(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnratechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnratechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnreset(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnreset(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnresize(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnresize(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnscroll(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnscroll(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnscrollend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnscrollend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnsecuritypolicyviolation(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnsecuritypolicyviolation( &self, value: Option<Rc<EventHandlerNonNull<D>>>, )

Source

fn GetOnseeked(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnseeked(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnseeking(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnseeking(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnselect(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnselect(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnslotchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnslotchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnstalled(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnstalled(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnsubmit(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnsubmit(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnsuspend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnsuspend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOntimeupdate(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOntimeupdate(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOntoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOntoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnvolumechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnvolumechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnwaiting(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnwaiting(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnwebkitanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnwebkitanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnwebkitanimationiteration(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnwebkitanimationiteration( &self, value: Option<Rc<EventHandlerNonNull<D>>>, )

Source

fn GetOnwebkitanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnwebkitanimationstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnwebkittransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnwebkittransitionend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnwheel(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnwheel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnanimationstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnanimationiteration(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnanimationiteration(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnanimationcancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnanimationcancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOntransitionrun(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOntransitionrun(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOntransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOntransitionend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOntransitioncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOntransitioncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnselectstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnselectstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetOnselectionchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>

Source

fn SetOnselectionchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)

Source

fn GetElementById( &self, elementId: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn Children(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>

Source

fn GetFirstElementChild(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn GetLastElementChild(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn ChildElementCount(&self) -> u32

Source

fn Prepend( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn Append( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn ReplaceChildren( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn QuerySelector( &self, selectors: DOMString, ) -> Result<Option<Root<Dom<<D as DomTypes>::Element>>>, Error>

Source

fn QuerySelectorAll( &self, selectors: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::NodeList>>, Error>

Source

fn CreateExpression( &self, expression: DOMString, resolver: Option<Rc<XPathNSResolver<D>>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::XPathExpression>>, Error>

Source

fn CreateNSResolver( &self, nodeResolver: &<D as DomTypes>::Node, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Node>>

Source

fn Evaluate( &self, expression: DOMString, contextNode: &<D as DomTypes>::Node, resolver: Option<Rc<XPathNSResolver<D>>>, type_: u16, result: Option<&<D as DomTypes>::XPathResult>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::XPathResult>>, Error>

Source

fn SupportedPropertyNames(&self) -> Vec<DOMString>

Source

fn NamedGetter( &self, name: DOMString, _can_gc: CanGc, ) -> Option<WindowProxyOrElementOrHTMLCollection<D>>

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§