pub unsafe trait DOMEventTarget: NSObjectProtocol + NSCopying {
// Provided methods
unsafe fn addEventListener_listener_useCapture(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
where Self: Sized + Message { ... }
unsafe fn removeEventListener_listener_useCapture(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
where Self: Sized + Message { ... }
unsafe fn dispatchEvent(&self, event: Option<&DOMEvent>) -> bool
where Self: Sized + Message { ... }
unsafe fn addEventListener(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
where Self: Sized + Message { ... }
unsafe fn removeEventListener(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
where Self: Sized + Message { ... }
}👎Deprecated
Available on crate feature
DOMEventTarget only.Expand description
Provided Methods§
unsafe fn addEventListener_listener_useCapture( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
DOMEventListener only.unsafe fn removeEventListener_listener_useCapture( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
DOMEventListener only.unsafe fn dispatchEvent(&self, event: Option<&DOMEvent>) -> bool
👎Deprecated
Available on crate features
DOMEvent and DOMObject and WebScriptObject only.unsafe fn addEventListener( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
DOMEventListener only.unsafe fn removeEventListener( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
DOMEventListener only.Trait Implementations§
Source§impl ProtocolType for dyn DOMEventTarget
impl ProtocolType for dyn DOMEventTarget
impl<T> ImplementedBy<T> for dyn DOMEventTarget
Implementations on Foreign Types§
impl<T> DOMEventTarget for ProtocolObject<T>where
T: ?Sized + DOMEventTarget,
Implementors§
impl DOMEventTarget for DOMAttr
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMAttr only.impl DOMEventTarget for DOMCDATASection
Available on crate features
DOMCharacterData and DOMNode and DOMObject and DOMText and WebScriptObject and DOMCDATASection only.impl DOMEventTarget for DOMCharacterData
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMCharacterData only.impl DOMEventTarget for DOMComment
Available on crate features
DOMCharacterData and DOMNode and DOMObject and WebScriptObject and DOMComment only.impl DOMEventTarget for DOMDocument
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMDocument only.impl DOMEventTarget for DOMDocumentFragment
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMDocumentFragment only.impl DOMEventTarget for DOMDocumentType
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMDocumentType only.impl DOMEventTarget for DOMElement
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMElement only.impl DOMEventTarget for DOMEntity
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMEntity only.impl DOMEventTarget for DOMEntityReference
Available on crate features
DOMNode and DOMObject and WebScriptObject and DOMEntityReference only.impl DOMEventTarget for DOMHTMLAnchorElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLAnchorElement only.impl DOMEventTarget for DOMHTMLAppletElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLAppletElement only.impl DOMEventTarget for DOMHTMLAreaElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLAreaElement only.impl DOMEventTarget for DOMHTMLBRElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBRElement only.impl DOMEventTarget for DOMHTMLBaseElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBaseElement only.impl DOMEventTarget for DOMHTMLBaseFontElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBaseFontElement only.impl DOMEventTarget for DOMHTMLBodyElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBodyElement only.impl DOMEventTarget for DOMHTMLButtonElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLButtonElement only.impl DOMEventTarget for DOMHTMLDListElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLDListElement only.impl DOMEventTarget for DOMHTMLDirectoryElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLDirectoryElement only.impl DOMEventTarget for DOMHTMLDivElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLDivElement only.impl DOMEventTarget for DOMHTMLDocument
Available on crate features
DOMDocument and DOMNode and DOMObject and WebScriptObject and DOMHTMLDocument only.impl DOMEventTarget for DOMHTMLElement
Available on crate features
DOMElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLElement only.impl DOMEventTarget for DOMHTMLEmbedElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLEmbedElement only.impl DOMEventTarget for DOMHTMLFieldSetElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFieldSetElement only.impl DOMEventTarget for DOMHTMLFontElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFontElement only.impl DOMEventTarget for DOMHTMLFormElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFormElement only.impl DOMEventTarget for DOMHTMLFrameElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFrameElement only.impl DOMEventTarget for DOMHTMLFrameSetElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFrameSetElement only.impl DOMEventTarget for DOMHTMLHRElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHRElement only.impl DOMEventTarget for DOMHTMLHeadElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHeadElement only.impl DOMEventTarget for DOMHTMLHeadingElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHeadingElement only.impl DOMEventTarget for DOMHTMLHtmlElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHtmlElement only.impl DOMEventTarget for DOMHTMLIFrameElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLIFrameElement only.impl DOMEventTarget for DOMHTMLImageElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLImageElement only.impl DOMEventTarget for DOMHTMLInputElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLInputElement only.impl DOMEventTarget for DOMHTMLLIElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLIElement only.impl DOMEventTarget for DOMHTMLLabelElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLabelElement only.impl DOMEventTarget for DOMHTMLLegendElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLegendElement only.impl DOMEventTarget for DOMHTMLLinkElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLinkElement only.impl DOMEventTarget for DOMHTMLMapElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMapElement only.impl DOMEventTarget for DOMHTMLMarqueeElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMarqueeElement only.impl DOMEventTarget for DOMHTMLMenuElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMenuElement only.impl DOMEventTarget for DOMHTMLMetaElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMetaElement only.impl DOMEventTarget for DOMHTMLModElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLModElement only.impl DOMEventTarget for DOMHTMLOListElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLOListElement only.impl DOMEventTarget for DOMHTMLObjectElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLObjectElement only.impl DOMEventTarget for DOMHTMLOptGroupElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLOptGroupElement only.impl DOMEventTarget for DOMHTMLOptionElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLOptionElement only.impl DOMEventTarget for DOMHTMLParagraphElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLParagraphElement only.impl DOMEventTarget for DOMHTMLParamElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLParamElement only.impl DOMEventTarget for DOMHTMLPreElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLPreElement only.impl DOMEventTarget for DOMHTMLQuoteElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLQuoteElement only.impl DOMEventTarget for DOMHTMLScriptElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLScriptElement only.impl DOMEventTarget for DOMHTMLSelectElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLSelectElement only.impl DOMEventTarget for DOMHTMLStyleElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLStyleElement only.impl DOMEventTarget for DOMHTMLTableCaptionElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableCaptionElement only.impl DOMEventTarget for DOMHTMLTableCellElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableCellElement only.impl DOMEventTarget for DOMHTMLTableColElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableColElement only.impl DOMEventTarget for DOMHTMLTableElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableElement only.impl DOMEventTarget for DOMHTMLTableRowElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableRowElement only.impl DOMEventTarget for DOMHTMLTableSectionElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableSectionElement only.impl DOMEventTarget for DOMHTMLTextAreaElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTextAreaElement only.impl DOMEventTarget for DOMHTMLTitleElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTitleElement only.impl DOMEventTarget for DOMHTMLUListElement
Available on crate features
DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLUListElement only.impl DOMEventTarget for DOMNode
Available on crate features
DOMObject and WebScriptObject and DOMNode only.impl DOMEventTarget for DOMProcessingInstruction
Available on crate features
DOMCharacterData and DOMNode and DOMObject and WebScriptObject and DOMProcessingInstruction only.impl DOMEventTarget for DOMText
Available on crate features
DOMCharacterData and DOMNode and DOMObject and WebScriptObject and DOMText only.