Trait objc2_web_kit::DOMEventTarget

source ·
pub unsafe trait DOMEventTarget: NSCopying + NSObjectProtocol {
    // 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.

Provided Methods§

source

unsafe fn addEventListener_listener_useCapture( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool )
where Self: Sized + Message,

👎Deprecated
Available on crate feature DOMEventListener only.
source

unsafe fn removeEventListener_listener_useCapture( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool )
where Self: Sized + Message,

👎Deprecated
Available on crate feature DOMEventListener only.
source

unsafe fn dispatchEvent(&self, event: Option<&DOMEvent>) -> bool
where Self: Sized + Message,

👎Deprecated
Available on crate features DOMEvent and DOMObject and WebScriptObject only.
source

unsafe fn addEventListener( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool )
where Self: Sized + Message,

👎Deprecated
Available on crate feature DOMEventListener only.
source

unsafe fn removeEventListener( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool )
where Self: Sized + Message,

👎Deprecated
Available on crate feature DOMEventListener only.

Trait Implementations§

source§

impl ProtocolType for dyn DOMEventTarget

source§

const NAME: &'static str = "DOMEventTarget"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn DOMEventTarget

Implementations on Foreign Types§

source§

impl<T> DOMEventTarget for ProtocolObject<T>
where T: ?Sized + DOMEventTarget,

Implementors§

source§

impl DOMEventTarget for DOMAttr

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMAttr only.
source§

impl DOMEventTarget for DOMCDATASection

Available on crate features DOMCharacterData and DOMNode and DOMObject and DOMText and WebScriptObject and DOMCDATASection only.
source§

impl DOMEventTarget for DOMCharacterData

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMCharacterData only.
source§

impl DOMEventTarget for DOMComment

Available on crate features DOMCharacterData and DOMNode and DOMObject and WebScriptObject and DOMComment only.
source§

impl DOMEventTarget for DOMDocument

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMDocument only.
source§

impl DOMEventTarget for DOMDocumentFragment

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMDocumentFragment only.
source§

impl DOMEventTarget for DOMDocumentType

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMDocumentType only.
source§

impl DOMEventTarget for DOMElement

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMElement only.
source§

impl DOMEventTarget for DOMEntity

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMEntity only.
source§

impl DOMEventTarget for DOMEntityReference

Available on crate features DOMNode and DOMObject and WebScriptObject and DOMEntityReference only.
source§

impl DOMEventTarget for DOMHTMLAnchorElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLAnchorElement only.
source§

impl DOMEventTarget for DOMHTMLAppletElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLAppletElement only.
source§

impl DOMEventTarget for DOMHTMLAreaElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLAreaElement only.
source§

impl DOMEventTarget for DOMHTMLBRElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBRElement only.
source§

impl DOMEventTarget for DOMHTMLBaseElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBaseElement only.
source§

impl DOMEventTarget for DOMHTMLBaseFontElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBaseFontElement only.
source§

impl DOMEventTarget for DOMHTMLBodyElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLBodyElement only.
source§

impl DOMEventTarget for DOMHTMLButtonElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLButtonElement only.
source§

impl DOMEventTarget for DOMHTMLDListElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLDListElement only.
source§

impl DOMEventTarget for DOMHTMLDirectoryElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLDirectoryElement only.
source§

impl DOMEventTarget for DOMHTMLDivElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLDivElement only.
source§

impl DOMEventTarget for DOMHTMLDocument

Available on crate features DOMDocument and DOMNode and DOMObject and WebScriptObject and DOMHTMLDocument only.
source§

impl DOMEventTarget for DOMHTMLElement

Available on crate features DOMElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLElement only.
source§

impl DOMEventTarget for DOMHTMLEmbedElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLEmbedElement only.
source§

impl DOMEventTarget for DOMHTMLFieldSetElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFieldSetElement only.
source§

impl DOMEventTarget for DOMHTMLFontElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFontElement only.
source§

impl DOMEventTarget for DOMHTMLFormElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFormElement only.
source§

impl DOMEventTarget for DOMHTMLFrameElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFrameElement only.
source§

impl DOMEventTarget for DOMHTMLFrameSetElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLFrameSetElement only.
source§

impl DOMEventTarget for DOMHTMLHRElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHRElement only.
source§

impl DOMEventTarget for DOMHTMLHeadElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHeadElement only.
source§

impl DOMEventTarget for DOMHTMLHeadingElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHeadingElement only.
source§

impl DOMEventTarget for DOMHTMLHtmlElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLHtmlElement only.
source§

impl DOMEventTarget for DOMHTMLIFrameElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLIFrameElement only.
source§

impl DOMEventTarget for DOMHTMLImageElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLImageElement only.
source§

impl DOMEventTarget for DOMHTMLInputElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLInputElement only.
source§

impl DOMEventTarget for DOMHTMLLIElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLIElement only.
source§

impl DOMEventTarget for DOMHTMLLabelElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLabelElement only.
source§

impl DOMEventTarget for DOMHTMLLegendElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLegendElement only.
source§

impl DOMEventTarget for DOMHTMLLinkElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLLinkElement only.
source§

impl DOMEventTarget for DOMHTMLMapElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMapElement only.
source§

impl DOMEventTarget for DOMHTMLMarqueeElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMarqueeElement only.
source§

impl DOMEventTarget for DOMHTMLMenuElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMenuElement only.
source§

impl DOMEventTarget for DOMHTMLMetaElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLMetaElement only.
source§

impl DOMEventTarget for DOMHTMLModElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLModElement only.
source§

impl DOMEventTarget for DOMHTMLOListElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLOListElement only.
source§

impl DOMEventTarget for DOMHTMLObjectElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLObjectElement only.
source§

impl DOMEventTarget for DOMHTMLOptGroupElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLOptGroupElement only.
source§

impl DOMEventTarget for DOMHTMLOptionElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLOptionElement only.
source§

impl DOMEventTarget for DOMHTMLParagraphElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLParagraphElement only.
source§

impl DOMEventTarget for DOMHTMLParamElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLParamElement only.
source§

impl DOMEventTarget for DOMHTMLPreElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLPreElement only.
source§

impl DOMEventTarget for DOMHTMLQuoteElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLQuoteElement only.
source§

impl DOMEventTarget for DOMHTMLScriptElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLScriptElement only.
source§

impl DOMEventTarget for DOMHTMLSelectElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLSelectElement only.
source§

impl DOMEventTarget for DOMHTMLStyleElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLStyleElement only.
source§

impl DOMEventTarget for DOMHTMLTableCaptionElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableCaptionElement only.
source§

impl DOMEventTarget for DOMHTMLTableCellElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableCellElement only.
source§

impl DOMEventTarget for DOMHTMLTableColElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableColElement only.
source§

impl DOMEventTarget for DOMHTMLTableElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableElement only.
source§

impl DOMEventTarget for DOMHTMLTableRowElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableRowElement only.
source§

impl DOMEventTarget for DOMHTMLTableSectionElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTableSectionElement only.
source§

impl DOMEventTarget for DOMHTMLTextAreaElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTextAreaElement only.
source§

impl DOMEventTarget for DOMHTMLTitleElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLTitleElement only.
source§

impl DOMEventTarget for DOMHTMLUListElement

Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMObject and WebScriptObject and DOMHTMLUListElement only.
source§

impl DOMEventTarget for DOMNode

Available on crate features DOMObject and WebScriptObject and DOMNode only.
source§

impl DOMEventTarget for DOMProcessingInstruction

Available on crate features DOMCharacterData and DOMNode and DOMObject and WebScriptObject and DOMProcessingInstruction only.
source§

impl DOMEventTarget for DOMText

Available on crate features DOMCharacterData and DOMNode and DOMObject and WebScriptObject and DOMText only.