pub struct DOMObject { /* private fields */ }DOMObject and WebScriptObject only.Expand description
Implementations§
Methods from Deref<Target = WebScriptObject>§
Sourcepub unsafe fn JSObject(&self) -> JSObjectRef
Available on crate feature objc2-javascript-core only.
pub unsafe fn JSObject(&self) -> JSObjectRef
objc2-javascript-core only.Returns: The equivalent JSObjectRef for this WebScriptObject.
Use this method to bridge between the WebScriptObject and JavaScriptCore APIs.
Sourcepub unsafe fn callWebScriptMethod_withArguments(
&self,
name: Option<&NSString>,
arguments: Option<&NSArray>,
) -> Option<Retained<AnyObject>>
👎Deprecated
pub unsafe fn callWebScriptMethod_withArguments( &self, name: Option<&NSString>, arguments: Option<&NSArray>, ) -> Option<Retained<AnyObject>>
Parameter name: The name of the method to call in the script environment.
Parameter arguments: The arguments to pass to the script environment.
Calls the specified method in the script environment using the specified arguments.
Returns: Returns the result of calling the script method. Returns WebUndefined when an exception is thrown in the script environment.
§Safety
namemight not allowNone.argumentsgeneric should be of the correct type.argumentsmight not allowNone.
Sourcepub unsafe fn evaluateWebScript(
&self,
script: Option<&NSString>,
) -> Option<Retained<AnyObject>>
👎Deprecated
pub unsafe fn evaluateWebScript( &self, script: Option<&NSString>, ) -> Option<Retained<AnyObject>>
Parameter script: The script to execute in the target script environment.
The script will be executed in the target script environment. The format of the script is dependent of the target script environment.
Returns: Returns the result of evaluating the script in the script environment. Returns WebUndefined when an exception is thrown in the script environment.
§Safety
script might not allow None.
Sourcepub unsafe fn removeWebScriptKey(&self, name: Option<&NSString>)
👎Deprecated
pub unsafe fn removeWebScriptKey(&self, name: Option<&NSString>)
Parameter name: The name of the property to remove.
Removes the property from the object in the script environment.
§Safety
name might not allow None.
Sourcepub unsafe fn stringRepresentation(&self) -> Option<Retained<NSString>>
👎Deprecated
pub unsafe fn stringRepresentation(&self) -> Option<Retained<NSString>>
Converts the target object to a string representation. The coercion of non string objects type is dependent on the script environment.
Returns: Returns the string representation of the object.
Sourcepub unsafe fn webScriptValueAtIndex(
&self,
index: c_uint,
) -> Option<Retained<AnyObject>>
👎Deprecated
pub unsafe fn webScriptValueAtIndex( &self, index: c_uint, ) -> Option<Retained<AnyObject>>
Parameter index: The index of the property to return.
Gets the value of the property at the specified index.
Returns: The value of the property. Returns WebUndefined when an exception is thrown in the script environment.
Sourcepub unsafe fn setWebScriptValueAtIndex_value(
&self,
index: c_uint,
value: Option<&AnyObject>,
)
👎Deprecated
pub unsafe fn setWebScriptValueAtIndex_value( &self, index: c_uint, value: Option<&AnyObject>, )
Parameter index: The index of the property to set.
Parameter value: The value of the property to set.
Sets the property value at the specified index.
§Safety
valueshould be of the correct type.valuemight not allowNone.
Sourcepub unsafe fn setException(&self, description: Option<&NSString>)
👎Deprecated
pub unsafe fn setException(&self, description: Option<&NSString>)
Parameter description: The description of the exception.
Raises an exception in the script environment in the context of the current object.
§Safety
description might not allow None.
Methods from Deref<Target = NSObject>§
Sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
Sourcepub fn class(&self) -> &'static AnyClass
pub fn class(&self) -> &'static AnyClass
Dynamically find the class of this object.
§Panics
May panic if the object is invalid (which may be the case for objects
returned from unavailable init/new methods).
§Example
Check that an instance of NSObject has the precise class NSObject.
use objc2::ClassType;
use objc2::runtime::NSObject;
let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());Sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load instead.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load instead.Use Ivar::load instead.
§Safety
The object must have an instance variable with the given name, and it
must be of type T.
See Ivar::load_ptr for details surrounding this.
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: DowncastTarget,
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: DowncastTarget,
Attempt to downcast the object to a class of type T.
This is the reference-variant. Use Retained::downcast if you want
to convert a retained object to another type.
§Mutable classes
Some classes have immutable and mutable variants, such as NSString
and NSMutableString.
When some Objective-C API signature says it gives you an immutable class, it generally expects you to not mutate that, even though it may technically be mutable “under the hood”.
So using this method to convert a NSString to a NSMutableString,
while not unsound, is generally frowned upon unless you created the
string yourself, or the API explicitly documents the string to be
mutable.
See Apple’s documentation on mutability and on
isKindOfClass: for more details.
§Generic classes
Objective-C generics are called “lightweight generics”, and that’s because they aren’t exposed in the runtime. This makes it impossible to safely downcast to generic collections, so this is disallowed by this method.
You can, however, safely downcast to generic collections where all the
type-parameters are AnyObject.
§Panics
This works internally by calling isKindOfClass:. That means that the
object must have the instance method of that name, and an exception
will be thrown (if CoreFoundation is linked) or the process will abort
if that is not the case. In the vast majority of cases, you don’t need
to worry about this, since both root objects NSObject and
NSProxy implement this method.
§Examples
Cast an NSString back and forth from NSObject.
use objc2::rc::Retained;
use objc2_foundation::{NSObject, NSString};
let obj: Retained<NSObject> = NSString::new().into_super();
let string = obj.downcast_ref::<NSString>().unwrap();
// Or with `downcast`, if we do not need the object afterwards
let string = obj.downcast::<NSString>().unwrap();Try (and fail) to cast an NSObject to an NSString.
use objc2_foundation::{NSObject, NSString};
let obj = NSObject::new();
assert!(obj.downcast_ref::<NSString>().is_none());Try to cast to an array of strings.
use objc2_foundation::{NSArray, NSObject, NSString};
let arr = NSArray::from_retained_slice(&[NSObject::new()]);
// This is invalid and doesn't type check.
let arr = arr.downcast_ref::<NSArray<NSString>>();This fails to compile, since it would require enumerating over the array to ensure that each element is of the desired type, which is a performance pitfall.
Downcast when processing each element instead.
use objc2_foundation::{NSArray, NSObject, NSString};
let arr = NSArray::from_retained_slice(&[NSObject::new()]);
for elem in arr {
if let Some(data) = elem.downcast_ref::<NSString>() {
// handle `data`
}
}Trait Implementations§
Source§impl AsRef<DOMObject> for DOMAbstractView
Available on crate feature DOMAbstractView only.
impl AsRef<DOMObject> for DOMAbstractView
DOMAbstractView only.Source§impl AsRef<DOMObject> for DOMCDATASection
Available on crate features DOMCharacterData and DOMNode and DOMText and DOMCDATASection only.
impl AsRef<DOMObject> for DOMCDATASection
DOMCharacterData and DOMNode and DOMText and DOMCDATASection only.Source§impl AsRef<DOMObject> for DOMCSSCharsetRule
Available on crate features DOMCSSRule and DOMCSSCharsetRule only.
impl AsRef<DOMObject> for DOMCSSCharsetRule
DOMCSSRule and DOMCSSCharsetRule only.Source§impl AsRef<DOMObject> for DOMCSSFontFaceRule
Available on crate features DOMCSSRule and DOMCSSFontFaceRule only.
impl AsRef<DOMObject> for DOMCSSFontFaceRule
DOMCSSRule and DOMCSSFontFaceRule only.Source§impl AsRef<DOMObject> for DOMCSSImportRule
Available on crate features DOMCSSRule and DOMCSSImportRule only.
impl AsRef<DOMObject> for DOMCSSImportRule
DOMCSSRule and DOMCSSImportRule only.Source§impl AsRef<DOMObject> for DOMCSSMediaRule
Available on crate features DOMCSSRule and DOMCSSMediaRule only.
impl AsRef<DOMObject> for DOMCSSMediaRule
DOMCSSRule and DOMCSSMediaRule only.Source§impl AsRef<DOMObject> for DOMCSSPageRule
Available on crate features DOMCSSRule and DOMCSSPageRule only.
impl AsRef<DOMObject> for DOMCSSPageRule
DOMCSSRule and DOMCSSPageRule only.Source§impl AsRef<DOMObject> for DOMCSSPrimitiveValue
Available on crate features DOMCSSValue and DOMCSSPrimitiveValue only.
impl AsRef<DOMObject> for DOMCSSPrimitiveValue
DOMCSSValue and DOMCSSPrimitiveValue only.Source§impl AsRef<DOMObject> for DOMCSSRule
Available on crate feature DOMCSSRule only.
impl AsRef<DOMObject> for DOMCSSRule
DOMCSSRule only.Source§impl AsRef<DOMObject> for DOMCSSRuleList
Available on crate feature DOMCSSRuleList only.
impl AsRef<DOMObject> for DOMCSSRuleList
DOMCSSRuleList only.Source§impl AsRef<DOMObject> for DOMCSSStyleDeclaration
Available on crate feature DOMCSSStyleDeclaration only.
impl AsRef<DOMObject> for DOMCSSStyleDeclaration
DOMCSSStyleDeclaration only.Source§impl AsRef<DOMObject> for DOMCSSStyleRule
Available on crate features DOMCSSRule and DOMCSSStyleRule only.
impl AsRef<DOMObject> for DOMCSSStyleRule
DOMCSSRule and DOMCSSStyleRule only.Source§impl AsRef<DOMObject> for DOMCSSStyleSheet
Available on crate features DOMStyleSheet and DOMCSSStyleSheet only.
impl AsRef<DOMObject> for DOMCSSStyleSheet
DOMStyleSheet and DOMCSSStyleSheet only.Source§impl AsRef<DOMObject> for DOMCSSUnknownRule
Available on crate features DOMCSSRule and DOMCSSUnknownRule only.
impl AsRef<DOMObject> for DOMCSSUnknownRule
DOMCSSRule and DOMCSSUnknownRule only.Source§impl AsRef<DOMObject> for DOMCSSValue
Available on crate feature DOMCSSValue only.
impl AsRef<DOMObject> for DOMCSSValue
DOMCSSValue only.Source§impl AsRef<DOMObject> for DOMCSSValueList
Available on crate features DOMCSSValue and DOMCSSValueList only.
impl AsRef<DOMObject> for DOMCSSValueList
DOMCSSValue and DOMCSSValueList only.Source§impl AsRef<DOMObject> for DOMCharacterData
Available on crate features DOMNode and DOMCharacterData only.
impl AsRef<DOMObject> for DOMCharacterData
DOMNode and DOMCharacterData only.Source§impl AsRef<DOMObject> for DOMComment
Available on crate features DOMCharacterData and DOMNode and DOMComment only.
impl AsRef<DOMObject> for DOMComment
DOMCharacterData and DOMNode and DOMComment only.Source§impl AsRef<DOMObject> for DOMCounter
Available on crate feature DOMCounter only.
impl AsRef<DOMObject> for DOMCounter
DOMCounter only.Source§impl AsRef<DOMObject> for DOMDocument
Available on crate features DOMNode and DOMDocument only.
impl AsRef<DOMObject> for DOMDocument
DOMNode and DOMDocument only.Source§impl AsRef<DOMObject> for DOMDocumentFragment
Available on crate features DOMNode and DOMDocumentFragment only.
impl AsRef<DOMObject> for DOMDocumentFragment
DOMNode and DOMDocumentFragment only.Source§impl AsRef<DOMObject> for DOMDocumentType
Available on crate features DOMNode and DOMDocumentType only.
impl AsRef<DOMObject> for DOMDocumentType
DOMNode and DOMDocumentType only.Source§impl AsRef<DOMObject> for DOMElement
Available on crate features DOMNode and DOMElement only.
impl AsRef<DOMObject> for DOMElement
DOMNode and DOMElement only.Source§impl AsRef<DOMObject> for DOMEntityReference
Available on crate features DOMNode and DOMEntityReference only.
impl AsRef<DOMObject> for DOMEntityReference
DOMNode and DOMEntityReference only.Source§impl AsRef<DOMObject> for DOMFileList
Available on crate feature DOMFileList only.
impl AsRef<DOMObject> for DOMFileList
DOMFileList only.Source§impl AsRef<DOMObject> for DOMHTMLAnchorElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAnchorElement only.
impl AsRef<DOMObject> for DOMHTMLAnchorElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAnchorElement only.Source§impl AsRef<DOMObject> for DOMHTMLAppletElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAppletElement only.
impl AsRef<DOMObject> for DOMHTMLAppletElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAppletElement only.Source§impl AsRef<DOMObject> for DOMHTMLAreaElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAreaElement only.
impl AsRef<DOMObject> for DOMHTMLAreaElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAreaElement only.Source§impl AsRef<DOMObject> for DOMHTMLBRElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBRElement only.
impl AsRef<DOMObject> for DOMHTMLBRElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBRElement only.Source§impl AsRef<DOMObject> for DOMHTMLBaseElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseElement only.
impl AsRef<DOMObject> for DOMHTMLBaseElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseElement only.Source§impl AsRef<DOMObject> for DOMHTMLBaseFontElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseFontElement only.
impl AsRef<DOMObject> for DOMHTMLBaseFontElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseFontElement only.Source§impl AsRef<DOMObject> for DOMHTMLBodyElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBodyElement only.
impl AsRef<DOMObject> for DOMHTMLBodyElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBodyElement only.Source§impl AsRef<DOMObject> for DOMHTMLButtonElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLButtonElement only.
impl AsRef<DOMObject> for DOMHTMLButtonElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLButtonElement only.Source§impl AsRef<DOMObject> for DOMHTMLCollection
Available on crate feature DOMHTMLCollection only.
impl AsRef<DOMObject> for DOMHTMLCollection
DOMHTMLCollection only.Source§impl AsRef<DOMObject> for DOMHTMLDListElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDListElement only.
impl AsRef<DOMObject> for DOMHTMLDListElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDListElement only.Source§impl AsRef<DOMObject> for DOMHTMLDirectoryElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDirectoryElement only.
impl AsRef<DOMObject> for DOMHTMLDirectoryElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDirectoryElement only.Source§impl AsRef<DOMObject> for DOMHTMLDivElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDivElement only.
impl AsRef<DOMObject> for DOMHTMLDivElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDivElement only.Source§impl AsRef<DOMObject> for DOMHTMLDocument
Available on crate features DOMDocument and DOMNode and DOMHTMLDocument only.
impl AsRef<DOMObject> for DOMHTMLDocument
DOMDocument and DOMNode and DOMHTMLDocument only.Source§impl AsRef<DOMObject> for DOMHTMLElement
Available on crate features DOMElement and DOMNode and DOMHTMLElement only.
impl AsRef<DOMObject> for DOMHTMLElement
DOMElement and DOMNode and DOMHTMLElement only.Source§impl AsRef<DOMObject> for DOMHTMLEmbedElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLEmbedElement only.
impl AsRef<DOMObject> for DOMHTMLEmbedElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLEmbedElement only.Source§impl AsRef<DOMObject> for DOMHTMLFieldSetElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFieldSetElement only.
impl AsRef<DOMObject> for DOMHTMLFieldSetElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFieldSetElement only.Source§impl AsRef<DOMObject> for DOMHTMLFontElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFontElement only.
impl AsRef<DOMObject> for DOMHTMLFontElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFontElement only.Source§impl AsRef<DOMObject> for DOMHTMLFormElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFormElement only.
impl AsRef<DOMObject> for DOMHTMLFormElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFormElement only.Source§impl AsRef<DOMObject> for DOMHTMLFrameElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameElement only.
impl AsRef<DOMObject> for DOMHTMLFrameElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameElement only.Source§impl AsRef<DOMObject> for DOMHTMLFrameSetElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameSetElement only.
impl AsRef<DOMObject> for DOMHTMLFrameSetElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameSetElement only.Source§impl AsRef<DOMObject> for DOMHTMLHRElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHRElement only.
impl AsRef<DOMObject> for DOMHTMLHRElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHRElement only.Source§impl AsRef<DOMObject> for DOMHTMLHeadElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadElement only.
impl AsRef<DOMObject> for DOMHTMLHeadElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadElement only.Source§impl AsRef<DOMObject> for DOMHTMLHeadingElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadingElement only.
impl AsRef<DOMObject> for DOMHTMLHeadingElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadingElement only.Source§impl AsRef<DOMObject> for DOMHTMLHtmlElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHtmlElement only.
impl AsRef<DOMObject> for DOMHTMLHtmlElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHtmlElement only.Source§impl AsRef<DOMObject> for DOMHTMLIFrameElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLIFrameElement only.
impl AsRef<DOMObject> for DOMHTMLIFrameElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLIFrameElement only.Source§impl AsRef<DOMObject> for DOMHTMLImageElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLImageElement only.
impl AsRef<DOMObject> for DOMHTMLImageElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLImageElement only.Source§impl AsRef<DOMObject> for DOMHTMLInputElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLInputElement only.
impl AsRef<DOMObject> for DOMHTMLInputElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLInputElement only.Source§impl AsRef<DOMObject> for DOMHTMLLIElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLIElement only.
impl AsRef<DOMObject> for DOMHTMLLIElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLIElement only.Source§impl AsRef<DOMObject> for DOMHTMLLabelElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLabelElement only.
impl AsRef<DOMObject> for DOMHTMLLabelElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLabelElement only.Source§impl AsRef<DOMObject> for DOMHTMLLegendElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLegendElement only.
impl AsRef<DOMObject> for DOMHTMLLegendElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLegendElement only.Source§impl AsRef<DOMObject> for DOMHTMLLinkElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLinkElement only.
impl AsRef<DOMObject> for DOMHTMLLinkElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLinkElement only.Source§impl AsRef<DOMObject> for DOMHTMLMapElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMapElement only.
impl AsRef<DOMObject> for DOMHTMLMapElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMapElement only.Source§impl AsRef<DOMObject> for DOMHTMLMarqueeElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMarqueeElement only.
impl AsRef<DOMObject> for DOMHTMLMarqueeElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMarqueeElement only.Source§impl AsRef<DOMObject> for DOMHTMLMenuElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMenuElement only.
impl AsRef<DOMObject> for DOMHTMLMenuElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMenuElement only.Source§impl AsRef<DOMObject> for DOMHTMLMetaElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMetaElement only.
impl AsRef<DOMObject> for DOMHTMLMetaElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMetaElement only.Source§impl AsRef<DOMObject> for DOMHTMLModElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLModElement only.
impl AsRef<DOMObject> for DOMHTMLModElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLModElement only.Source§impl AsRef<DOMObject> for DOMHTMLOListElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOListElement only.
impl AsRef<DOMObject> for DOMHTMLOListElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOListElement only.Source§impl AsRef<DOMObject> for DOMHTMLObjectElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLObjectElement only.
impl AsRef<DOMObject> for DOMHTMLObjectElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLObjectElement only.Source§impl AsRef<DOMObject> for DOMHTMLOptGroupElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptGroupElement only.
impl AsRef<DOMObject> for DOMHTMLOptGroupElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptGroupElement only.Source§impl AsRef<DOMObject> for DOMHTMLOptionElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptionElement only.
impl AsRef<DOMObject> for DOMHTMLOptionElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptionElement only.Source§impl AsRef<DOMObject> for DOMHTMLOptionsCollection
Available on crate feature DOMHTMLOptionsCollection only.
impl AsRef<DOMObject> for DOMHTMLOptionsCollection
DOMHTMLOptionsCollection only.Source§impl AsRef<DOMObject> for DOMHTMLParagraphElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParagraphElement only.
impl AsRef<DOMObject> for DOMHTMLParagraphElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParagraphElement only.Source§impl AsRef<DOMObject> for DOMHTMLParamElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParamElement only.
impl AsRef<DOMObject> for DOMHTMLParamElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParamElement only.Source§impl AsRef<DOMObject> for DOMHTMLPreElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLPreElement only.
impl AsRef<DOMObject> for DOMHTMLPreElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLPreElement only.Source§impl AsRef<DOMObject> for DOMHTMLQuoteElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLQuoteElement only.
impl AsRef<DOMObject> for DOMHTMLQuoteElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLQuoteElement only.Source§impl AsRef<DOMObject> for DOMHTMLScriptElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLScriptElement only.
impl AsRef<DOMObject> for DOMHTMLScriptElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLScriptElement only.Source§impl AsRef<DOMObject> for DOMHTMLSelectElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLSelectElement only.
impl AsRef<DOMObject> for DOMHTMLSelectElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLSelectElement only.Source§impl AsRef<DOMObject> for DOMHTMLStyleElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLStyleElement only.
impl AsRef<DOMObject> for DOMHTMLStyleElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLStyleElement only.Source§impl AsRef<DOMObject> for DOMHTMLTableCaptionElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCaptionElement only.
impl AsRef<DOMObject> for DOMHTMLTableCaptionElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCaptionElement only.Source§impl AsRef<DOMObject> for DOMHTMLTableCellElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCellElement only.
impl AsRef<DOMObject> for DOMHTMLTableCellElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCellElement only.Source§impl AsRef<DOMObject> for DOMHTMLTableColElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableColElement only.
impl AsRef<DOMObject> for DOMHTMLTableColElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableColElement only.Source§impl AsRef<DOMObject> for DOMHTMLTableElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableElement only.
impl AsRef<DOMObject> for DOMHTMLTableElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableElement only.Source§impl AsRef<DOMObject> for DOMHTMLTableRowElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableRowElement only.
impl AsRef<DOMObject> for DOMHTMLTableRowElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableRowElement only.Source§impl AsRef<DOMObject> for DOMHTMLTableSectionElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableSectionElement only.
impl AsRef<DOMObject> for DOMHTMLTableSectionElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableSectionElement only.Source§impl AsRef<DOMObject> for DOMHTMLTextAreaElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTextAreaElement only.
impl AsRef<DOMObject> for DOMHTMLTextAreaElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTextAreaElement only.Source§impl AsRef<DOMObject> for DOMHTMLTitleElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTitleElement only.
impl AsRef<DOMObject> for DOMHTMLTitleElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTitleElement only.Source§impl AsRef<DOMObject> for DOMHTMLUListElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLUListElement only.
impl AsRef<DOMObject> for DOMHTMLUListElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLUListElement only.Source§impl AsRef<DOMObject> for DOMImplementation
Available on crate feature DOMImplementation only.
impl AsRef<DOMObject> for DOMImplementation
DOMImplementation only.Source§impl AsRef<DOMObject> for DOMKeyboardEvent
Available on crate features DOMEvent and DOMUIEvent and DOMKeyboardEvent only.
impl AsRef<DOMObject> for DOMKeyboardEvent
DOMEvent and DOMUIEvent and DOMKeyboardEvent only.Source§impl AsRef<DOMObject> for DOMMediaList
Available on crate feature DOMMediaList only.
impl AsRef<DOMObject> for DOMMediaList
DOMMediaList only.Source§impl AsRef<DOMObject> for DOMMouseEvent
Available on crate features DOMEvent and DOMUIEvent and DOMMouseEvent only.
impl AsRef<DOMObject> for DOMMouseEvent
DOMEvent and DOMUIEvent and DOMMouseEvent only.Source§impl AsRef<DOMObject> for DOMMutationEvent
Available on crate features DOMEvent and DOMMutationEvent only.
impl AsRef<DOMObject> for DOMMutationEvent
DOMEvent and DOMMutationEvent only.Source§impl AsRef<DOMObject> for DOMNamedNodeMap
Available on crate feature DOMNamedNodeMap only.
impl AsRef<DOMObject> for DOMNamedNodeMap
DOMNamedNodeMap only.Source§impl AsRef<DOMObject> for DOMNodeIterator
Available on crate feature DOMNodeIterator only.
impl AsRef<DOMObject> for DOMNodeIterator
DOMNodeIterator only.Source§impl AsRef<DOMObject> for DOMNodeList
Available on crate feature DOMNodeList only.
impl AsRef<DOMObject> for DOMNodeList
DOMNodeList only.Source§impl AsRef<DOMObject> for DOMOverflowEvent
Available on crate features DOMEvent and DOMOverflowEvent only.
impl AsRef<DOMObject> for DOMOverflowEvent
DOMEvent and DOMOverflowEvent only.Source§impl AsRef<DOMObject> for DOMProcessingInstruction
Available on crate features DOMCharacterData and DOMNode and DOMProcessingInstruction only.
impl AsRef<DOMObject> for DOMProcessingInstruction
DOMCharacterData and DOMNode and DOMProcessingInstruction only.Source§impl AsRef<DOMObject> for DOMProgressEvent
Available on crate features DOMEvent and DOMProgressEvent only.
impl AsRef<DOMObject> for DOMProgressEvent
DOMEvent and DOMProgressEvent only.Source§impl AsRef<DOMObject> for DOMRGBColor
Available on crate feature DOMRGBColor only.
impl AsRef<DOMObject> for DOMRGBColor
DOMRGBColor only.Source§impl AsRef<DOMObject> for DOMStyleSheet
Available on crate feature DOMStyleSheet only.
impl AsRef<DOMObject> for DOMStyleSheet
DOMStyleSheet only.Source§impl AsRef<DOMObject> for DOMStyleSheetList
Available on crate feature DOMStyleSheetList only.
impl AsRef<DOMObject> for DOMStyleSheetList
DOMStyleSheetList only.Source§impl AsRef<DOMObject> for DOMText
Available on crate features DOMCharacterData and DOMNode and DOMText only.
impl AsRef<DOMObject> for DOMText
DOMCharacterData and DOMNode and DOMText only.Source§impl AsRef<DOMObject> for DOMTreeWalker
Available on crate feature DOMTreeWalker only.
impl AsRef<DOMObject> for DOMTreeWalker
DOMTreeWalker only.Source§impl AsRef<DOMObject> for DOMUIEvent
Available on crate features DOMEvent and DOMUIEvent only.
impl AsRef<DOMObject> for DOMUIEvent
DOMEvent and DOMUIEvent only.Source§impl AsRef<DOMObject> for DOMWheelEvent
Available on crate features DOMEvent and DOMMouseEvent and DOMUIEvent and DOMWheelEvent only.
impl AsRef<DOMObject> for DOMWheelEvent
DOMEvent and DOMMouseEvent and DOMUIEvent and DOMWheelEvent only.Source§impl AsRef<DOMObject> for DOMXPathExpression
Available on crate feature DOMXPathExpression only.
impl AsRef<DOMObject> for DOMXPathExpression
DOMXPathExpression only.Source§impl AsRef<DOMObject> for DOMXPathResult
Available on crate feature DOMXPathResult only.
impl AsRef<DOMObject> for DOMXPathResult
DOMXPathResult only.Source§impl AsRef<WebScriptObject> for DOMObject
impl AsRef<WebScriptObject> for DOMObject
Source§fn as_ref(&self) -> &WebScriptObject
fn as_ref(&self) -> &WebScriptObject
Source§impl Borrow<DOMObject> for DOMAbstractView
Available on crate feature DOMAbstractView only.
impl Borrow<DOMObject> for DOMAbstractView
DOMAbstractView only.Source§impl Borrow<DOMObject> for DOMCDATASection
Available on crate features DOMCharacterData and DOMNode and DOMText and DOMCDATASection only.
impl Borrow<DOMObject> for DOMCDATASection
DOMCharacterData and DOMNode and DOMText and DOMCDATASection only.Source§impl Borrow<DOMObject> for DOMCSSCharsetRule
Available on crate features DOMCSSRule and DOMCSSCharsetRule only.
impl Borrow<DOMObject> for DOMCSSCharsetRule
DOMCSSRule and DOMCSSCharsetRule only.Source§impl Borrow<DOMObject> for DOMCSSFontFaceRule
Available on crate features DOMCSSRule and DOMCSSFontFaceRule only.
impl Borrow<DOMObject> for DOMCSSFontFaceRule
DOMCSSRule and DOMCSSFontFaceRule only.Source§impl Borrow<DOMObject> for DOMCSSImportRule
Available on crate features DOMCSSRule and DOMCSSImportRule only.
impl Borrow<DOMObject> for DOMCSSImportRule
DOMCSSRule and DOMCSSImportRule only.Source§impl Borrow<DOMObject> for DOMCSSMediaRule
Available on crate features DOMCSSRule and DOMCSSMediaRule only.
impl Borrow<DOMObject> for DOMCSSMediaRule
DOMCSSRule and DOMCSSMediaRule only.Source§impl Borrow<DOMObject> for DOMCSSPageRule
Available on crate features DOMCSSRule and DOMCSSPageRule only.
impl Borrow<DOMObject> for DOMCSSPageRule
DOMCSSRule and DOMCSSPageRule only.Source§impl Borrow<DOMObject> for DOMCSSPrimitiveValue
Available on crate features DOMCSSValue and DOMCSSPrimitiveValue only.
impl Borrow<DOMObject> for DOMCSSPrimitiveValue
DOMCSSValue and DOMCSSPrimitiveValue only.Source§impl Borrow<DOMObject> for DOMCSSRule
Available on crate feature DOMCSSRule only.
impl Borrow<DOMObject> for DOMCSSRule
DOMCSSRule only.Source§impl Borrow<DOMObject> for DOMCSSRuleList
Available on crate feature DOMCSSRuleList only.
impl Borrow<DOMObject> for DOMCSSRuleList
DOMCSSRuleList only.Source§impl Borrow<DOMObject> for DOMCSSStyleDeclaration
Available on crate feature DOMCSSStyleDeclaration only.
impl Borrow<DOMObject> for DOMCSSStyleDeclaration
DOMCSSStyleDeclaration only.Source§impl Borrow<DOMObject> for DOMCSSStyleRule
Available on crate features DOMCSSRule and DOMCSSStyleRule only.
impl Borrow<DOMObject> for DOMCSSStyleRule
DOMCSSRule and DOMCSSStyleRule only.Source§impl Borrow<DOMObject> for DOMCSSStyleSheet
Available on crate features DOMStyleSheet and DOMCSSStyleSheet only.
impl Borrow<DOMObject> for DOMCSSStyleSheet
DOMStyleSheet and DOMCSSStyleSheet only.Source§impl Borrow<DOMObject> for DOMCSSUnknownRule
Available on crate features DOMCSSRule and DOMCSSUnknownRule only.
impl Borrow<DOMObject> for DOMCSSUnknownRule
DOMCSSRule and DOMCSSUnknownRule only.Source§impl Borrow<DOMObject> for DOMCSSValue
Available on crate feature DOMCSSValue only.
impl Borrow<DOMObject> for DOMCSSValue
DOMCSSValue only.Source§impl Borrow<DOMObject> for DOMCSSValueList
Available on crate features DOMCSSValue and DOMCSSValueList only.
impl Borrow<DOMObject> for DOMCSSValueList
DOMCSSValue and DOMCSSValueList only.Source§impl Borrow<DOMObject> for DOMCharacterData
Available on crate features DOMNode and DOMCharacterData only.
impl Borrow<DOMObject> for DOMCharacterData
DOMNode and DOMCharacterData only.Source§impl Borrow<DOMObject> for DOMComment
Available on crate features DOMCharacterData and DOMNode and DOMComment only.
impl Borrow<DOMObject> for DOMComment
DOMCharacterData and DOMNode and DOMComment only.Source§impl Borrow<DOMObject> for DOMCounter
Available on crate feature DOMCounter only.
impl Borrow<DOMObject> for DOMCounter
DOMCounter only.Source§impl Borrow<DOMObject> for DOMDocument
Available on crate features DOMNode and DOMDocument only.
impl Borrow<DOMObject> for DOMDocument
DOMNode and DOMDocument only.Source§impl Borrow<DOMObject> for DOMDocumentFragment
Available on crate features DOMNode and DOMDocumentFragment only.
impl Borrow<DOMObject> for DOMDocumentFragment
DOMNode and DOMDocumentFragment only.Source§impl Borrow<DOMObject> for DOMDocumentType
Available on crate features DOMNode and DOMDocumentType only.
impl Borrow<DOMObject> for DOMDocumentType
DOMNode and DOMDocumentType only.Source§impl Borrow<DOMObject> for DOMElement
Available on crate features DOMNode and DOMElement only.
impl Borrow<DOMObject> for DOMElement
DOMNode and DOMElement only.Source§impl Borrow<DOMObject> for DOMEntityReference
Available on crate features DOMNode and DOMEntityReference only.
impl Borrow<DOMObject> for DOMEntityReference
DOMNode and DOMEntityReference only.Source§impl Borrow<DOMObject> for DOMFileList
Available on crate feature DOMFileList only.
impl Borrow<DOMObject> for DOMFileList
DOMFileList only.Source§impl Borrow<DOMObject> for DOMHTMLAnchorElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAnchorElement only.
impl Borrow<DOMObject> for DOMHTMLAnchorElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAnchorElement only.Source§impl Borrow<DOMObject> for DOMHTMLAppletElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAppletElement only.
impl Borrow<DOMObject> for DOMHTMLAppletElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAppletElement only.Source§impl Borrow<DOMObject> for DOMHTMLAreaElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAreaElement only.
impl Borrow<DOMObject> for DOMHTMLAreaElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLAreaElement only.Source§impl Borrow<DOMObject> for DOMHTMLBRElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBRElement only.
impl Borrow<DOMObject> for DOMHTMLBRElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBRElement only.Source§impl Borrow<DOMObject> for DOMHTMLBaseElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseElement only.
impl Borrow<DOMObject> for DOMHTMLBaseElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseElement only.Source§impl Borrow<DOMObject> for DOMHTMLBaseFontElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseFontElement only.
impl Borrow<DOMObject> for DOMHTMLBaseFontElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBaseFontElement only.Source§impl Borrow<DOMObject> for DOMHTMLBodyElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBodyElement only.
impl Borrow<DOMObject> for DOMHTMLBodyElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLBodyElement only.Source§impl Borrow<DOMObject> for DOMHTMLButtonElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLButtonElement only.
impl Borrow<DOMObject> for DOMHTMLButtonElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLButtonElement only.Source§impl Borrow<DOMObject> for DOMHTMLCollection
Available on crate feature DOMHTMLCollection only.
impl Borrow<DOMObject> for DOMHTMLCollection
DOMHTMLCollection only.Source§impl Borrow<DOMObject> for DOMHTMLDListElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDListElement only.
impl Borrow<DOMObject> for DOMHTMLDListElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDListElement only.Source§impl Borrow<DOMObject> for DOMHTMLDirectoryElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDirectoryElement only.
impl Borrow<DOMObject> for DOMHTMLDirectoryElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDirectoryElement only.Source§impl Borrow<DOMObject> for DOMHTMLDivElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDivElement only.
impl Borrow<DOMObject> for DOMHTMLDivElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLDivElement only.Source§impl Borrow<DOMObject> for DOMHTMLDocument
Available on crate features DOMDocument and DOMNode and DOMHTMLDocument only.
impl Borrow<DOMObject> for DOMHTMLDocument
DOMDocument and DOMNode and DOMHTMLDocument only.Source§impl Borrow<DOMObject> for DOMHTMLElement
Available on crate features DOMElement and DOMNode and DOMHTMLElement only.
impl Borrow<DOMObject> for DOMHTMLElement
DOMElement and DOMNode and DOMHTMLElement only.Source§impl Borrow<DOMObject> for DOMHTMLEmbedElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLEmbedElement only.
impl Borrow<DOMObject> for DOMHTMLEmbedElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLEmbedElement only.Source§impl Borrow<DOMObject> for DOMHTMLFieldSetElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFieldSetElement only.
impl Borrow<DOMObject> for DOMHTMLFieldSetElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFieldSetElement only.Source§impl Borrow<DOMObject> for DOMHTMLFontElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFontElement only.
impl Borrow<DOMObject> for DOMHTMLFontElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFontElement only.Source§impl Borrow<DOMObject> for DOMHTMLFormElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFormElement only.
impl Borrow<DOMObject> for DOMHTMLFormElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFormElement only.Source§impl Borrow<DOMObject> for DOMHTMLFrameElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameElement only.
impl Borrow<DOMObject> for DOMHTMLFrameElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameElement only.Source§impl Borrow<DOMObject> for DOMHTMLFrameSetElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameSetElement only.
impl Borrow<DOMObject> for DOMHTMLFrameSetElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLFrameSetElement only.Source§impl Borrow<DOMObject> for DOMHTMLHRElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHRElement only.
impl Borrow<DOMObject> for DOMHTMLHRElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHRElement only.Source§impl Borrow<DOMObject> for DOMHTMLHeadElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadElement only.
impl Borrow<DOMObject> for DOMHTMLHeadElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadElement only.Source§impl Borrow<DOMObject> for DOMHTMLHeadingElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadingElement only.
impl Borrow<DOMObject> for DOMHTMLHeadingElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHeadingElement only.Source§impl Borrow<DOMObject> for DOMHTMLHtmlElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHtmlElement only.
impl Borrow<DOMObject> for DOMHTMLHtmlElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLHtmlElement only.Source§impl Borrow<DOMObject> for DOMHTMLIFrameElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLIFrameElement only.
impl Borrow<DOMObject> for DOMHTMLIFrameElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLIFrameElement only.Source§impl Borrow<DOMObject> for DOMHTMLImageElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLImageElement only.
impl Borrow<DOMObject> for DOMHTMLImageElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLImageElement only.Source§impl Borrow<DOMObject> for DOMHTMLInputElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLInputElement only.
impl Borrow<DOMObject> for DOMHTMLInputElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLInputElement only.Source§impl Borrow<DOMObject> for DOMHTMLLIElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLIElement only.
impl Borrow<DOMObject> for DOMHTMLLIElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLIElement only.Source§impl Borrow<DOMObject> for DOMHTMLLabelElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLabelElement only.
impl Borrow<DOMObject> for DOMHTMLLabelElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLabelElement only.Source§impl Borrow<DOMObject> for DOMHTMLLegendElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLegendElement only.
impl Borrow<DOMObject> for DOMHTMLLegendElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLegendElement only.Source§impl Borrow<DOMObject> for DOMHTMLLinkElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLinkElement only.
impl Borrow<DOMObject> for DOMHTMLLinkElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLLinkElement only.Source§impl Borrow<DOMObject> for DOMHTMLMapElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMapElement only.
impl Borrow<DOMObject> for DOMHTMLMapElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMapElement only.Source§impl Borrow<DOMObject> for DOMHTMLMarqueeElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMarqueeElement only.
impl Borrow<DOMObject> for DOMHTMLMarqueeElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMarqueeElement only.Source§impl Borrow<DOMObject> for DOMHTMLMenuElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMenuElement only.
impl Borrow<DOMObject> for DOMHTMLMenuElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMenuElement only.Source§impl Borrow<DOMObject> for DOMHTMLMetaElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMetaElement only.
impl Borrow<DOMObject> for DOMHTMLMetaElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLMetaElement only.Source§impl Borrow<DOMObject> for DOMHTMLModElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLModElement only.
impl Borrow<DOMObject> for DOMHTMLModElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLModElement only.Source§impl Borrow<DOMObject> for DOMHTMLOListElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOListElement only.
impl Borrow<DOMObject> for DOMHTMLOListElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOListElement only.Source§impl Borrow<DOMObject> for DOMHTMLObjectElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLObjectElement only.
impl Borrow<DOMObject> for DOMHTMLObjectElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLObjectElement only.Source§impl Borrow<DOMObject> for DOMHTMLOptGroupElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptGroupElement only.
impl Borrow<DOMObject> for DOMHTMLOptGroupElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptGroupElement only.Source§impl Borrow<DOMObject> for DOMHTMLOptionElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptionElement only.
impl Borrow<DOMObject> for DOMHTMLOptionElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLOptionElement only.Source§impl Borrow<DOMObject> for DOMHTMLOptionsCollection
Available on crate feature DOMHTMLOptionsCollection only.
impl Borrow<DOMObject> for DOMHTMLOptionsCollection
DOMHTMLOptionsCollection only.Source§impl Borrow<DOMObject> for DOMHTMLParagraphElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParagraphElement only.
impl Borrow<DOMObject> for DOMHTMLParagraphElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParagraphElement only.Source§impl Borrow<DOMObject> for DOMHTMLParamElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParamElement only.
impl Borrow<DOMObject> for DOMHTMLParamElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLParamElement only.Source§impl Borrow<DOMObject> for DOMHTMLPreElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLPreElement only.
impl Borrow<DOMObject> for DOMHTMLPreElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLPreElement only.Source§impl Borrow<DOMObject> for DOMHTMLQuoteElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLQuoteElement only.
impl Borrow<DOMObject> for DOMHTMLQuoteElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLQuoteElement only.Source§impl Borrow<DOMObject> for DOMHTMLScriptElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLScriptElement only.
impl Borrow<DOMObject> for DOMHTMLScriptElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLScriptElement only.Source§impl Borrow<DOMObject> for DOMHTMLSelectElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLSelectElement only.
impl Borrow<DOMObject> for DOMHTMLSelectElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLSelectElement only.Source§impl Borrow<DOMObject> for DOMHTMLStyleElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLStyleElement only.
impl Borrow<DOMObject> for DOMHTMLStyleElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLStyleElement only.Source§impl Borrow<DOMObject> for DOMHTMLTableCaptionElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCaptionElement only.
impl Borrow<DOMObject> for DOMHTMLTableCaptionElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCaptionElement only.Source§impl Borrow<DOMObject> for DOMHTMLTableCellElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCellElement only.
impl Borrow<DOMObject> for DOMHTMLTableCellElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableCellElement only.Source§impl Borrow<DOMObject> for DOMHTMLTableColElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableColElement only.
impl Borrow<DOMObject> for DOMHTMLTableColElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableColElement only.Source§impl Borrow<DOMObject> for DOMHTMLTableElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableElement only.
impl Borrow<DOMObject> for DOMHTMLTableElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableElement only.Source§impl Borrow<DOMObject> for DOMHTMLTableRowElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableRowElement only.
impl Borrow<DOMObject> for DOMHTMLTableRowElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableRowElement only.Source§impl Borrow<DOMObject> for DOMHTMLTableSectionElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableSectionElement only.
impl Borrow<DOMObject> for DOMHTMLTableSectionElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTableSectionElement only.Source§impl Borrow<DOMObject> for DOMHTMLTextAreaElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTextAreaElement only.
impl Borrow<DOMObject> for DOMHTMLTextAreaElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTextAreaElement only.Source§impl Borrow<DOMObject> for DOMHTMLTitleElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTitleElement only.
impl Borrow<DOMObject> for DOMHTMLTitleElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLTitleElement only.Source§impl Borrow<DOMObject> for DOMHTMLUListElement
Available on crate features DOMElement and DOMHTMLElement and DOMNode and DOMHTMLUListElement only.
impl Borrow<DOMObject> for DOMHTMLUListElement
DOMElement and DOMHTMLElement and DOMNode and DOMHTMLUListElement only.Source§impl Borrow<DOMObject> for DOMImplementation
Available on crate feature DOMImplementation only.
impl Borrow<DOMObject> for DOMImplementation
DOMImplementation only.Source§impl Borrow<DOMObject> for DOMKeyboardEvent
Available on crate features DOMEvent and DOMUIEvent and DOMKeyboardEvent only.
impl Borrow<DOMObject> for DOMKeyboardEvent
DOMEvent and DOMUIEvent and DOMKeyboardEvent only.Source§impl Borrow<DOMObject> for DOMMediaList
Available on crate feature DOMMediaList only.
impl Borrow<DOMObject> for DOMMediaList
DOMMediaList only.Source§impl Borrow<DOMObject> for DOMMouseEvent
Available on crate features DOMEvent and DOMUIEvent and DOMMouseEvent only.
impl Borrow<DOMObject> for DOMMouseEvent
DOMEvent and DOMUIEvent and DOMMouseEvent only.Source§impl Borrow<DOMObject> for DOMMutationEvent
Available on crate features DOMEvent and DOMMutationEvent only.
impl Borrow<DOMObject> for DOMMutationEvent
DOMEvent and DOMMutationEvent only.Source§impl Borrow<DOMObject> for DOMNamedNodeMap
Available on crate feature DOMNamedNodeMap only.
impl Borrow<DOMObject> for DOMNamedNodeMap
DOMNamedNodeMap only.Source§impl Borrow<DOMObject> for DOMNodeIterator
Available on crate feature DOMNodeIterator only.
impl Borrow<DOMObject> for DOMNodeIterator
DOMNodeIterator only.Source§impl Borrow<DOMObject> for DOMNodeList
Available on crate feature DOMNodeList only.
impl Borrow<DOMObject> for DOMNodeList
DOMNodeList only.Source§impl Borrow<DOMObject> for DOMOverflowEvent
Available on crate features DOMEvent and DOMOverflowEvent only.
impl Borrow<DOMObject> for DOMOverflowEvent
DOMEvent and DOMOverflowEvent only.Source§impl Borrow<DOMObject> for DOMProcessingInstruction
Available on crate features DOMCharacterData and DOMNode and DOMProcessingInstruction only.
impl Borrow<DOMObject> for DOMProcessingInstruction
DOMCharacterData and DOMNode and DOMProcessingInstruction only.Source§impl Borrow<DOMObject> for DOMProgressEvent
Available on crate features DOMEvent and DOMProgressEvent only.
impl Borrow<DOMObject> for DOMProgressEvent
DOMEvent and DOMProgressEvent only.Source§impl Borrow<DOMObject> for DOMRGBColor
Available on crate feature DOMRGBColor only.
impl Borrow<DOMObject> for DOMRGBColor
DOMRGBColor only.Source§impl Borrow<DOMObject> for DOMStyleSheet
Available on crate feature DOMStyleSheet only.
impl Borrow<DOMObject> for DOMStyleSheet
DOMStyleSheet only.Source§impl Borrow<DOMObject> for DOMStyleSheetList
Available on crate feature DOMStyleSheetList only.
impl Borrow<DOMObject> for DOMStyleSheetList
DOMStyleSheetList only.Source§impl Borrow<DOMObject> for DOMText
Available on crate features DOMCharacterData and DOMNode and DOMText only.
impl Borrow<DOMObject> for DOMText
DOMCharacterData and DOMNode and DOMText only.Source§impl Borrow<DOMObject> for DOMTreeWalker
Available on crate feature DOMTreeWalker only.
impl Borrow<DOMObject> for DOMTreeWalker
DOMTreeWalker only.Source§impl Borrow<DOMObject> for DOMUIEvent
Available on crate features DOMEvent and DOMUIEvent only.
impl Borrow<DOMObject> for DOMUIEvent
DOMEvent and DOMUIEvent only.Source§impl Borrow<DOMObject> for DOMWheelEvent
Available on crate features DOMEvent and DOMMouseEvent and DOMUIEvent and DOMWheelEvent only.
impl Borrow<DOMObject> for DOMWheelEvent
DOMEvent and DOMMouseEvent and DOMUIEvent and DOMWheelEvent only.Source§impl Borrow<DOMObject> for DOMXPathExpression
Available on crate feature DOMXPathExpression only.
impl Borrow<DOMObject> for DOMXPathExpression
DOMXPathExpression only.Source§impl Borrow<DOMObject> for DOMXPathResult
Available on crate feature DOMXPathResult only.
impl Borrow<DOMObject> for DOMXPathResult
DOMXPathResult only.Source§impl Borrow<WebScriptObject> for DOMObject
impl Borrow<WebScriptObject> for DOMObject
Source§fn borrow(&self) -> &WebScriptObject
fn borrow(&self) -> &WebScriptObject
Source§impl ClassType for DOMObject
impl ClassType for DOMObject
Source§const NAME: &'static str = "DOMObject"
const NAME: &'static str = "DOMObject"
Source§type Super = WebScriptObject
type Super = WebScriptObject
Source§type ThreadKind = <<DOMObject as ClassType>::Super as ClassType>::ThreadKind
type ThreadKind = <<DOMObject as ClassType>::Super as ClassType>::ThreadKind
Source§impl CopyingHelper for DOMObject
impl CopyingHelper for DOMObject
Source§impl NSCopying for DOMObject
impl NSCopying for DOMObject
Source§impl NSObjectProtocol for DOMObject
impl NSObjectProtocol for DOMObject
Source§fn isEqual(&self, other: Option<&AnyObject>) -> bool
fn isEqual(&self, other: Option<&AnyObject>) -> bool
Source§fn hash(&self) -> usize
fn hash(&self) -> usize
Source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
isKindOfClass directly, or cast your objects with AnyObject::downcast_ref