#[repr(C)]pub(crate) struct MathMLElement {
element: Element,
}Fields§
§element: ElementImplementations§
Source§impl MathMLElement
impl MathMLElement
fn __assert_parent_type(&self)
Source§impl MathMLElement
impl MathMLElement
pub(crate) fn new_inherited( tag_name: LocalName, prefix: Option<Prefix>, document: &Document, ) -> MathMLElement
pub(crate) fn new( cx: &mut JSContext, tag_name: LocalName, prefix: Option<Prefix>, document: &Document, proto: Option<HandleObject<'_>>, ) -> DomRoot<MathMLElement>
fn as_element(&self) -> &Element
Trait Implementations§
§impl Castable for MathMLElement
impl Castable for MathMLElement
impl DerivedFrom<Element> for MathMLElement
impl DerivedFrom<EventTarget> for MathMLElement
impl DerivedFrom<Node> for MathMLElement
Source§impl DomObject for MathMLElement
impl DomObject for MathMLElement
type ReflectorType = <Element as DomObject>::ReflectorType
Source§fn reflector(&self) -> &Reflector<Self::ReflectorType>
fn reflector(&self) -> &Reflector<Self::ReflectorType>
Returns the receiver’s reflector.
Source§impl DomObjectWrap<DomTypeHolder> for MathMLElement
impl DomObjectWrap<DomTypeHolder> for MathMLElement
Source§impl Drop for MathMLElement
impl Drop for MathMLElement
impl Eq for MathMLElement
Source§impl HasParent for MathMLElement
impl HasParent for MathMLElement
Source§impl IDLInterface for MathMLElement
impl IDLInterface for MathMLElement
Source§const PROTO_ID: ID = PrototypeList::ID::MathMLElement
const PROTO_ID: ID = PrototypeList::ID::MathMLElement
The concrete type represented by this interface instance.
Source§const PROTO_FIRST: u16 = 297
const PROTO_FIRST: u16 = 297
First prototype ID in the DFS-ordered range for this interface and its descendants.
Source§const PROTO_LAST: u16 = 297
const PROTO_LAST: u16 = 297
Last prototype ID in the DFS-ordered range for this interface and its descendants.
Source§impl MallocSizeOf for MathMLElement
impl MallocSizeOf for MathMLElement
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 MathMLElementMethods<DomTypeHolder> for MathMLElement
impl MathMLElementMethods<DomTypeHolder> for MathMLElement
Source§fn Focus(&self, cx: &mut JSContext, options: &FocusOptions)
fn Focus(&self, cx: &mut JSContext, options: &FocusOptions)
Source§fn SetTabIndex(&self, cx: &mut JSContext, tab_index: i32)
fn SetTabIndex(&self, cx: &mut JSContext, tab_index: i32)
fn GetOnblur( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnblur( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnerror( &self, cx: &mut JSContext, ) -> Option<RootedCallback<OnErrorEventHandlerNonNull<DomTypeHolder>>>
fn SetOnerror( &self, cx: &mut JSContext, listener: Option<RootedCallback<OnErrorEventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnfocus( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnfocus( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnload( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnload( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnresize( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnresize( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnscroll( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnscroll( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnabort( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnabort( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnauxclick( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnauxclick( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnanimationstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnanimationstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnanimationiteration( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnanimationiteration( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnanimationend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnanimationend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnanimationcancel( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnanimationcancel( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnbeforeinput( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnbeforeinput( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnbeforematch( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnbeforematch( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnbeforetoggle( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnbeforetoggle( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncancel( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncancel( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncanplay( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncanplay( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncanplaythrough( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncanplaythrough( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnchange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnchange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnclick( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnclick( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnclose( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnclose( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncommand( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncommand( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncontextlost( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncontextlost( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncontextrestored( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncontextrestored( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncopy( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncopy( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncuechange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncuechange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOncut( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOncut( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndblclick( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndblclick( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndrag( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndrag( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndragend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndragend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndragenter( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndragenter( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndragleave( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndragleave( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndragover( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndragover( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndragstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndragstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndrop( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndrop( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOndurationchange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOndurationchange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnemptied( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnemptied( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnended( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnended( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnformdata( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnformdata( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOninput( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOninput( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOninvalid( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOninvalid( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnkeydown( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnkeydown( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnkeypress( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnkeypress( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnkeyup( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnkeyup( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnloadeddata( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnloadeddata( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnloadedmetadata( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnloadedmetadata( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnloadstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnloadstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmousedown( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmousedown( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmouseenter( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmouseenter( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmouseleave( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmouseleave( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmousemove( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmousemove( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmouseout( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmouseout( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmouseover( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmouseover( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnmouseup( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnmouseup( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpaste( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpaste( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpause( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpause( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnplay( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnplay( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnplaying( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnplaying( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointercancel( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointercancel( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointerdown( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointerdown( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointerenter( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointerenter( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointerleave( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointerleave( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointermove( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointermove( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointerout( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointerout( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointerover( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointerover( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnpointerup( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnpointerup( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnprogress( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnprogress( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnratechange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnratechange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnreset( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnreset( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnscrollend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnscrollend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnsecuritypolicyviolation( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnsecuritypolicyviolation( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnseeked( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnseeked( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnseeking( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnseeking( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnselect( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnselect( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnselectionchange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnselectionchange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnselectstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnselectstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnslotchange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnslotchange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnstalled( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnstalled( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnsubmit( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnsubmit( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnsuspend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnsuspend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntimeupdate( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntimeupdate( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntoggle( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntoggle( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntouchcancel( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntouchcancel( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntouchend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntouchend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntouchmove( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntouchmove( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntouchstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntouchstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntransitioncancel( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntransitioncancel( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntransitionend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntransitionend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntransitionstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntransitionstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOntransitionrun( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOntransitionrun( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnvolumechange( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnvolumechange( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnwaiting( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnwaiting( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnwebkitanimationend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnwebkitanimationend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnwebkitanimationiteration( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnwebkitanimationiteration( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnwebkitanimationstart( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnwebkitanimationstart( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnwebkittransitionend( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnwebkittransitionend( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn GetOnwheel( &self, cx: &mut JSContext, ) -> Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>
fn SetOnwheel( &self, cx: &mut JSContext, listener: Option<RootedCallback<EventHandlerNonNull<DomTypeHolder>>>, )
fn Autofocus(&self) -> bool
fn SetAutofocus(&self, cx: &mut JSContext, value: bool)
Source§impl MutDomObject for MathMLElement
impl MutDomObject for MathMLElement
Source§impl PartialEq for MathMLElement
impl PartialEq for MathMLElement
Source§impl ToJSValConvertible for MathMLElement
impl ToJSValConvertible for MathMLElement
Source§fn to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
fn to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
Convert
self to a JSVal. JSAPI failure causes a panic.Source§impl Traceable for MathMLElement
impl Traceable for MathMLElement
Source§impl VirtualMethods for MathMLElement
impl VirtualMethods for MathMLElement
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,
cx: &mut JSContext,
attr: AttrRef<'_>,
mutation: AttributeMutation<'_>,
)
fn attribute_mutated( &self, cx: &mut JSContext, attr: AttrRef<'_>, 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 attribute_affects_presentational_hints(&self, attr: AttrRef<'_>) -> bool
fn attribute_affects_presentational_hints(&self, attr: AttrRef<'_>) -> bool
Returns
true if given attribute attr affects style of the
given element.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 post_connection_steps(&self, cx: &mut JSContext)
fn post_connection_steps(&self, cx: &mut JSContext)
Invoked during a DOM tree mutation after a node becomes connected, once all
related DOM tree mutations have been applied.
https://dom.spec.whatwg.org/#concept-node-post-connection-ext
Source§fn moving_steps(&self, cx: &mut JSContext, context: &MoveContext<'_>)
fn moving_steps(&self, cx: &mut JSContext, context: &MoveContext<'_>)
Source§fn bind_to_tree(&self, cx: &mut JSContext, context: &BindContext<'_>)
fn bind_to_tree(&self, cx: &mut JSContext, context: &BindContext<'_>)
Called when a Node is appended to a tree.
Source§fn unbind_from_tree(&self, cx: &mut JSContext, context: &UnbindContext<'_>)
fn unbind_from_tree(&self, cx: &mut JSContext, context: &UnbindContext<'_>)
Called when a Node is removed from a tree.
Implements removing steps:
https://dom.spec.whatwg.org/#concept-node-remove-ext
Source§fn children_changed(&self, cx: &mut JSContext, mutation: &ChildrenMutation<'_>)
fn children_changed(&self, cx: &mut JSContext, mutation: &ChildrenMutation<'_>)
Called on the parent when its children are changed.
Source§fn handle_event(&self, cx: &mut JSContext, event: &Event)
fn handle_event(&self, cx: &mut JSContext, event: &Event)
Called during event dispatch after the bubbling phase completes.
Source§fn is_valid_command_steps(&self, command: CommandState) -> bool
fn is_valid_command_steps(&self, command: CommandState) -> bool
Source§fn command_steps(
&self,
cx: &mut JSContext,
button: DomRoot<HTMLButtonElement>,
command: CommandState,
) -> bool
fn command_steps( &self, cx: &mut JSContext, button: DomRoot<HTMLButtonElement>, command: CommandState, ) -> bool
Source§fn adopting_steps(&self, cx: &mut JSContext, old_doc: &Document)
fn adopting_steps(&self, cx: &mut JSContext, old_doc: &Document)
Source§fn cloning_steps(
&self,
cx: &mut JSContext,
copy: &Node,
maybe_doc: Option<&Document>,
clone_children: CloneChildrenFlag,
)
fn cloning_steps( &self, cx: &mut JSContext, copy: &Node, maybe_doc: Option<&Document>, clone_children: CloneChildrenFlag, )
Source§fn pop(&self, cx: &mut JSContext)
fn pop(&self, cx: &mut JSContext)
Called on an element when it is popped off the stack of open elements
of a parser.
fn focus_visible_applies(&self) -> bool
Auto Trait Implementations§
impl !Freeze for MathMLElement
impl !RefUnwindSafe for MathMLElement
impl !Send for MathMLElement
impl !Sync for MathMLElement
impl !UnwindSafe for MathMLElement
impl Unpin for MathMLElement
impl UnsafeUnpin for MathMLElement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<D, T> DomGlobalGeneric<D> for T
impl<D, T> DomGlobalGeneric<D> for T
Source§fn global_from_reflector(&self) -> Root<Dom<<D as DomTypes>::GlobalScope>>where
Self: Sized,
fn global_from_reflector(&self) -> Root<Dom<<D as DomTypes>::GlobalScope>>where
Self: Sized,
Returns the [
GlobalScope] of the realm that the DomObject was created in. If this
object is a Node, this will be different from it’s owning Document if adopted by. For
Nodes it’s almost always better to use NodeTraits::owning_global.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
impl<T> ErasedDestructor for Twhere
T: 'static,
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