#[repr(C)]pub struct DOMHTMLFrameElement { /* private fields */ }👎Deprecated
Available on crate features
WebKit and WebKit_DOMHTMLFrameElement only.Implementations§
Source§impl DOMHTMLFrameElement
impl DOMHTMLFrameElement
pub unsafe fn frameBorder(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setFrameBorder(&self, frame_border: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn longDesc(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setLongDesc(&self, long_desc: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn marginHeight(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setMarginHeight(&self, margin_height: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn marginWidth(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setMarginWidth(&self, margin_width: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn name(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setName(&self, name: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn noResize(&self) -> bool
👎Deprecated
pub unsafe fn setNoResize(&self, no_resize: bool)
👎Deprecated
pub unsafe fn scrolling(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setScrolling(&self, scrolling: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn src(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setSrc(&self, src: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn contentDocument(&self) -> Option<Id<DOMDocument>>
👎Deprecated
Available on crate feature
WebKit_DOMDocument only.pub unsafe fn contentWindow(&self) -> Option<Id<DOMAbstractView>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMAbstractView only.pub unsafe fn location(&self) -> Id<NSString>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
Foundation_NSString only.pub unsafe fn setLocation(&self, location: Option<&NSString>)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
Foundation_NSString only.pub unsafe fn width(&self) -> c_int
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn height(&self) -> c_int
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitSource§impl DOMHTMLFrameElement
Methods declared on superclass DOMObject
impl DOMHTMLFrameElement
Methods declared on superclass DOMObject
Source§impl DOMHTMLFrameElement
Methods declared on superclass NSObject
impl DOMHTMLFrameElement
Methods declared on superclass NSObject
Source§impl DOMHTMLFrameElement
WebDOMHTMLFrameElementOperations
impl DOMHTMLFrameElement
WebDOMHTMLFrameElementOperations
pub unsafe fn contentFrame(&self) -> Option<Id<WebFrame>>
👎Deprecated
Available on crate feature
WebKit_WebFrame only.Methods from Deref<Target = DOMHTMLElement>§
pub unsafe fn title(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setTitle(&self, title: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn lang(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setLang(&self, lang: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn dir(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setDir(&self, dir: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn tabIndex(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMHTMLElement only.pub unsafe fn setTabIndex(&self, tab_index: c_int)
👎Deprecated
Available on crate feature
WebKit_DOMHTMLElement only.pub unsafe fn accessKey(&self) -> Id<NSString>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setAccessKey(&self, access_key: Option<&NSString>)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn innerText(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setInnerText(&self, inner_text: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn outerText(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setOuterText(&self, outer_text: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn contentEditable(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setContentEditable(&self, content_editable: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn isContentEditable(&self) -> bool
👎Deprecated
Available on crate feature
WebKit_DOMHTMLElement only.pub unsafe fn idName(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn setIdName(&self, id_name: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn children(&self) -> Option<Id<DOMHTMLCollection>>
👎Deprecated
Available on crate features
WebKit_DOMHTMLElement and WebKit_DOMHTMLCollection only.pub unsafe fn titleDisplayString(&self) -> Id<NSString>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMHTMLElement and Foundation_NSString only.pub unsafe fn click(&self)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMHTMLElement only.Methods from Deref<Target = DOMElement>§
pub unsafe fn tagName(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn style(&self) -> Option<Id<DOMCSSStyleDeclaration>>
👎Deprecated
Available on crate features
WebKit_DOMElement and WebKit_DOMCSSStyleDeclaration only.pub unsafe fn offsetLeft(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn offsetTop(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn offsetWidth(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn offsetHeight(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn clientLeft(&self) -> c_int
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn clientTop(&self) -> c_int
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn clientWidth(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn clientHeight(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn scrollLeft(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn setScrollLeft(&self, scroll_left: c_int)
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn scrollTop(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn setScrollTop(&self, scroll_top: c_int)
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn scrollWidth(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn scrollHeight(&self) -> c_int
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn offsetParent(&self) -> Option<Id<DOMElement>>
👎Deprecated
Available on crate feature
WebKit_DOMElement only.pub unsafe fn innerHTML(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn setInnerHTML(&self, inner_html: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn outerHTML(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn setOuterHTML(&self, outer_html: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn className(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn setClassName(&self, class_name: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn innerText(&self) -> Id<NSString>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn previousElementSibling(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn nextElementSibling(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn firstElementChild(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn lastElementChild(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn childElementCount(&self) -> c_uint
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn getAttribute( &self, name: Option<&NSString>, ) -> Option<Id<NSString>>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn setAttribute_value( &self, name: Option<&NSString>, value: Option<&NSString>, )
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn removeAttribute(&self, name: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn getAttributeNode( &self, name: Option<&NSString>, ) -> Option<Id<DOMAttr>>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMAttr only.pub unsafe fn setAttributeNode( &self, new_attr: Option<&DOMAttr>, ) -> Option<Id<DOMAttr>>
👎Deprecated
Available on crate features
WebKit_DOMElement and WebKit_DOMAttr only.pub unsafe fn removeAttributeNode( &self, old_attr: Option<&DOMAttr>, ) -> Option<Id<DOMAttr>>
👎Deprecated
Available on crate features
WebKit_DOMElement and WebKit_DOMAttr only.pub unsafe fn getElementsByTagName( &self, name: Option<&NSString>, ) -> Option<Id<DOMNodeList>>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMNodeList only.pub unsafe fn getAttributeNS_localName( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> Option<Id<NSString>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn setAttributeNS_qualifiedName_value( &self, namespace_uri: Option<&NSString>, qualified_name: Option<&NSString>, value: Option<&NSString>, )
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn removeAttributeNS_localName( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, )
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn getElementsByTagNameNS_localName( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> Option<Id<DOMNodeList>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMNodeList only.pub unsafe fn getAttributeNodeNS_localName( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> Option<Id<DOMAttr>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMAttr only.pub unsafe fn setAttributeNodeNS( &self, new_attr: Option<&DOMAttr>, ) -> Option<Id<DOMAttr>>
👎Deprecated
Available on crate features
WebKit_DOMElement and WebKit_DOMAttr only.pub unsafe fn hasAttribute(&self, name: Option<&NSString>) -> bool
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn hasAttributeNS_localName( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn focus(&self)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn blur(&self)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn scrollIntoView(&self, align_with_top: bool)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn scrollIntoViewIfNeeded(&self, center_if_needed: bool)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn scrollByLines(&self, lines: c_int)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn scrollByPages(&self, pages: c_int)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn getElementsByClassName( &self, name: Option<&NSString>, ) -> Option<Id<DOMNodeList>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMNodeList only.pub unsafe fn webkitRequestFullScreen(&self, flags: c_ushort)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMElement only.pub unsafe fn querySelector( &self, selectors: Option<&NSString>, ) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn querySelectorAll( &self, selectors: Option<&NSString>, ) -> Option<Id<DOMNodeList>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMNodeList only.pub unsafe fn setAttribute( &self, name: Option<&NSString>, value: Option<&NSString>, )
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn getAttributeNS( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> Option<Id<NSString>>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn setAttributeNS( &self, namespace_uri: Option<&NSString>, qualified_name: Option<&NSString>, value: Option<&NSString>, )
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn removeAttributeNS( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, )
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn getElementsByTagNameNS( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> Option<Id<DOMNodeList>>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMNodeList only.pub unsafe fn getAttributeNodeNS( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> Option<Id<DOMAttr>>
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString and WebKit_DOMAttr only.pub unsafe fn hasAttributeNS( &self, namespace_uri: Option<&NSString>, local_name: Option<&NSString>, ) -> bool
👎Deprecated
Available on crate features
WebKit_DOMElement and Foundation_NSString only.pub unsafe fn image(&self) -> Option<Id<NSImage>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMElement and AppKit_NSImage only.Methods from Deref<Target = DOMNode>§
pub unsafe fn boundingBox(&self) -> NSRect
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn lineBoxRects(&self) -> Option<Id<NSArray>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSArray only.pub unsafe fn nodeName(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn nodeValue(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn setNodeValue(&self, node_value: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn nodeType(&self) -> c_ushort
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn parentNode(&self) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn childNodes(&self) -> Option<Id<DOMNodeList>>
👎Deprecated
Available on crate features
WebKit_DOMNode and WebKit_DOMNodeList only.pub unsafe fn firstChild(&self) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn lastChild(&self) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn previousSibling(&self) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn nextSibling(&self) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn ownerDocument(&self) -> Option<Id<DOMDocument>>
👎Deprecated
Available on crate features
WebKit_DOMNode and WebKit_DOMDocument only.pub unsafe fn namespaceURI(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn prefix(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn setPrefix(&self, prefix: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn localName(&self) -> Id<NSString>
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn attributes(&self) -> Option<Id<DOMNamedNodeMap>>
👎Deprecated
Available on crate features
WebKit_DOMNode and WebKit_DOMNamedNodeMap only.pub unsafe fn baseURI(&self) -> Id<NSString>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn textContent(&self) -> Id<NSString>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn setTextContent(&self, text_content: Option<&NSString>)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn parentElement(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and WebKit_DOMElement only.pub unsafe fn isContentEditable(&self) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn insertBefore_refChild( &self, new_child: Option<&DOMNode>, ref_child: Option<&DOMNode>, ) -> Option<Id<DOMNode>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn replaceChild_oldChild( &self, new_child: Option<&DOMNode>, old_child: Option<&DOMNode>, ) -> Option<Id<DOMNode>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn removeChild( &self, old_child: Option<&DOMNode>, ) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn appendChild( &self, new_child: Option<&DOMNode>, ) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn hasChildNodes(&self) -> bool
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn cloneNode(&self, deep: bool) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn normalize(&self)
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn isSupported_version( &self, feature: Option<&NSString>, version: Option<&NSString>, ) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn hasAttributes(&self) -> bool
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn isSameNode(&self, other: Option<&DOMNode>) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn isEqualNode(&self, other: Option<&DOMNode>) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn lookupPrefix( &self, namespace_uri: Option<&NSString>, ) -> Option<Id<NSString>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn lookupNamespaceURI( &self, prefix: Option<&NSString>, ) -> Option<Id<NSString>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn isDefaultNamespace( &self, namespace_uri: Option<&NSString>, ) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn compareDocumentPosition( &self, other: Option<&DOMNode>, ) -> c_ushort
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn contains(&self, other: Option<&DOMNode>) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate feature
WebKit_DOMNode only.pub unsafe fn insertBefore( &self, new_child: Option<&DOMNode>, ref_child: Option<&DOMNode>, ) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn replaceChild( &self, new_child: Option<&DOMNode>, old_child: Option<&DOMNode>, ) -> Option<Id<DOMNode>>
👎Deprecated
Available on crate feature
WebKit_DOMNode only.pub unsafe fn isSupported( &self, feature: Option<&NSString>, version: Option<&NSString>, ) -> bool
👎Deprecated
Available on crate features
WebKit_DOMNode and Foundation_NSString only.pub unsafe fn webArchive(&self) -> Option<Id<WebArchive>>
👎Deprecated
Available on crate features
WebKit_DOMNode and WebKit_WebArchive only.Methods from Deref<Target = DOMObject>§
pub unsafe fn sheet(&self) -> Option<Id<DOMStyleSheet>>
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitAvailable on crate features
WebKit_DOMObject and WebKit_DOMStyleSheet only.Methods from Deref<Target = WebScriptObject>§
pub unsafe fn callWebScriptMethod_withArguments( &self, name: Option<&NSString>, arguments: Option<&NSArray>, ) -> Option<Id<AnyObject>>
👎Deprecated
Available on crate features
WebKit_WebScriptObject and Foundation_NSArray and Foundation_NSString only.pub unsafe fn evaluateWebScript( &self, script: Option<&NSString>, ) -> Option<Id<AnyObject>>
👎Deprecated
Available on crate features
WebKit_WebScriptObject and Foundation_NSString only.pub unsafe fn removeWebScriptKey(&self, name: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_WebScriptObject and Foundation_NSString only.pub unsafe fn stringRepresentation(&self) -> Option<Id<NSString>>
👎Deprecated
Available on crate features
WebKit_WebScriptObject and Foundation_NSString only.pub unsafe fn webScriptValueAtIndex( &self, index: c_uint, ) -> Option<Id<AnyObject>>
👎Deprecated
Available on crate feature
WebKit_WebScriptObject only.pub unsafe fn setWebScriptValueAtIndex_value( &self, index: c_uint, value: Option<&AnyObject>, )
👎Deprecated
Available on crate feature
WebKit_WebScriptObject only.pub unsafe fn setException(&self, description: Option<&NSString>)
👎Deprecated
Available on crate features
WebKit_WebScriptObject and Foundation_NSString only.Methods from Deref<Target = NSObject>§
Sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Available on crate feature AuthenticationServices only.
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
AuthenticationServices only.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.
§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 unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.
pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
Ivar::load_mut instead.Use Ivar::load_mut 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.
Trait Implementations§
Source§impl AsMut<AnyObject> for DOMHTMLFrameElement
impl AsMut<AnyObject> for DOMHTMLFrameElement
Source§impl AsMut<DOMElement> for DOMHTMLFrameElement
impl AsMut<DOMElement> for DOMHTMLFrameElement
Source§fn as_mut(&mut self) -> &mut DOMElement
fn as_mut(&mut self) -> &mut DOMElement
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<DOMHTMLElement> for DOMHTMLFrameElement
impl AsMut<DOMHTMLElement> for DOMHTMLFrameElement
Source§fn as_mut(&mut self) -> &mut DOMHTMLElement
fn as_mut(&mut self) -> &mut DOMHTMLElement
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<DOMNode> for DOMHTMLFrameElement
impl AsMut<DOMNode> for DOMHTMLFrameElement
Source§impl AsMut<DOMObject> for DOMHTMLFrameElement
impl AsMut<DOMObject> for DOMHTMLFrameElement
Source§impl AsMut<NSObject> for DOMHTMLFrameElement
impl AsMut<NSObject> for DOMHTMLFrameElement
Source§impl AsMut<WebScriptObject> for DOMHTMLFrameElement
impl AsMut<WebScriptObject> for DOMHTMLFrameElement
Source§fn as_mut(&mut self) -> &mut WebScriptObject
fn as_mut(&mut self) -> &mut WebScriptObject
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<AnyObject> for DOMHTMLFrameElement
impl AsRef<AnyObject> for DOMHTMLFrameElement
Source§impl AsRef<DOMElement> for DOMHTMLFrameElement
impl AsRef<DOMElement> for DOMHTMLFrameElement
Source§fn as_ref(&self) -> &DOMElement
fn as_ref(&self) -> &DOMElement
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<DOMHTMLElement> for DOMHTMLFrameElement
impl AsRef<DOMHTMLElement> for DOMHTMLFrameElement
Source§fn as_ref(&self) -> &DOMHTMLElement
fn as_ref(&self) -> &DOMHTMLElement
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<DOMNode> for DOMHTMLFrameElement
impl AsRef<DOMNode> for DOMHTMLFrameElement
Source§impl AsRef<DOMObject> for DOMHTMLFrameElement
impl AsRef<DOMObject> for DOMHTMLFrameElement
Source§impl AsRef<NSObject> for DOMHTMLFrameElement
impl AsRef<NSObject> for DOMHTMLFrameElement
Source§impl AsRef<WebScriptObject> for DOMHTMLFrameElement
impl AsRef<WebScriptObject> for DOMHTMLFrameElement
Source§fn as_ref(&self) -> &WebScriptObject
fn as_ref(&self) -> &WebScriptObject
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<AnyObject> for DOMHTMLFrameElement
impl Borrow<AnyObject> for DOMHTMLFrameElement
Source§impl Borrow<DOMElement> for DOMHTMLFrameElement
impl Borrow<DOMElement> for DOMHTMLFrameElement
Source§fn borrow(&self) -> &DOMElement
fn borrow(&self) -> &DOMElement
Immutably borrows from an owned value. Read more
Source§impl Borrow<DOMHTMLElement> for DOMHTMLFrameElement
impl Borrow<DOMHTMLElement> for DOMHTMLFrameElement
Source§fn borrow(&self) -> &DOMHTMLElement
fn borrow(&self) -> &DOMHTMLElement
Immutably borrows from an owned value. Read more
Source§impl Borrow<DOMNode> for DOMHTMLFrameElement
impl Borrow<DOMNode> for DOMHTMLFrameElement
Source§impl Borrow<DOMObject> for DOMHTMLFrameElement
impl Borrow<DOMObject> for DOMHTMLFrameElement
Source§impl Borrow<NSObject> for DOMHTMLFrameElement
impl Borrow<NSObject> for DOMHTMLFrameElement
Source§impl Borrow<WebScriptObject> for DOMHTMLFrameElement
impl Borrow<WebScriptObject> for DOMHTMLFrameElement
Source§fn borrow(&self) -> &WebScriptObject
fn borrow(&self) -> &WebScriptObject
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<AnyObject> for DOMHTMLFrameElement
impl BorrowMut<AnyObject> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut AnyObject
fn borrow_mut(&mut self) -> &mut AnyObject
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<DOMElement> for DOMHTMLFrameElement
impl BorrowMut<DOMElement> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut DOMElement
fn borrow_mut(&mut self) -> &mut DOMElement
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<DOMHTMLElement> for DOMHTMLFrameElement
impl BorrowMut<DOMHTMLElement> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut DOMHTMLElement
fn borrow_mut(&mut self) -> &mut DOMHTMLElement
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<DOMNode> for DOMHTMLFrameElement
impl BorrowMut<DOMNode> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut DOMNode
fn borrow_mut(&mut self) -> &mut DOMNode
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<DOMObject> for DOMHTMLFrameElement
impl BorrowMut<DOMObject> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut DOMObject
fn borrow_mut(&mut self) -> &mut DOMObject
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<NSObject> for DOMHTMLFrameElement
impl BorrowMut<NSObject> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut NSObject
fn borrow_mut(&mut self) -> &mut NSObject
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<WebScriptObject> for DOMHTMLFrameElement
impl BorrowMut<WebScriptObject> for DOMHTMLFrameElement
Source§fn borrow_mut(&mut self) -> &mut WebScriptObject
fn borrow_mut(&mut self) -> &mut WebScriptObject
Mutably borrows from an owned value. Read more
Source§impl ClassType for DOMHTMLFrameElement
impl ClassType for DOMHTMLFrameElement
Source§const NAME: &'static str = "DOMHTMLFrameElement"
const NAME: &'static str = "DOMHTMLFrameElement"
The name of the Objective-C class that this type represents. Read more
Source§type Super = DOMHTMLElement
type Super = DOMHTMLElement
The superclass of this class. Read more
Source§type Mutability = InteriorMutable
type Mutability = InteriorMutable
Whether the type is mutable or immutable. Read more
Source§fn class() -> &'static AnyClass
fn class() -> &'static AnyClass
Get a reference to the Objective-C class that this type represents. Read more
Source§fn as_super_mut(&mut self) -> &mut Self::Super
fn as_super_mut(&mut self) -> &mut Self::Super
Get a mutable reference to the superclass.
Source§impl DOMEventTarget for DOMHTMLFrameElement
impl DOMEventTarget for DOMHTMLFrameElement
Source§unsafe fn addEventListener_listener_useCapture(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
unsafe fn addEventListener_listener_useCapture( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
Foundation_NSString only.Source§unsafe fn removeEventListener_listener_useCapture(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
unsafe fn removeEventListener_listener_useCapture( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
Foundation_NSString only.Source§unsafe fn dispatchEvent(&self, event: Option<&DOMEvent>) -> bool
unsafe fn dispatchEvent(&self, event: Option<&DOMEvent>) -> bool
👎Deprecated
Available on crate feature
WebKit_DOMEvent only.Source§unsafe fn addEventListener(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
unsafe fn addEventListener( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
Foundation_NSString only.Source§unsafe fn removeEventListener(
&self,
type: Option<&NSString>,
listener: Option<&ProtocolObject<dyn DOMEventListener>>,
use_capture: bool,
)
unsafe fn removeEventListener( &self, type: Option<&NSString>, listener: Option<&ProtocolObject<dyn DOMEventListener>>, use_capture: bool, )
👎Deprecated
Available on crate feature
Foundation_NSString only.Source§impl Debug for DOMHTMLFrameElement
impl Debug for DOMHTMLFrameElement
Source§impl Deref for DOMHTMLFrameElement
impl Deref for DOMHTMLFrameElement
Source§impl DerefMut for DOMHTMLFrameElement
impl DerefMut for DOMHTMLFrameElement
Source§impl Hash for DOMHTMLFrameElement
impl Hash for DOMHTMLFrameElement
Source§impl NSCopying for DOMHTMLFrameElement
impl NSCopying for DOMHTMLFrameElement
Source§fn copy(&self) -> Id<Self::Immutable>
fn copy(&self) -> Id<Self::Immutable>
👎Deprecated:
icrate::Foundation has been moved to objc2-foundationAvailable on crate feature
Foundation only.Returns a new instance that’s a copy of the receiver. Read more
Source§impl NSObjectProtocol for DOMHTMLFrameElement
impl NSObjectProtocol for DOMHTMLFrameElement
Source§fn isEqual(&self, other: &AnyObject) -> bool
fn isEqual(&self, other: &AnyObject) -> bool
Check whether the object is equal to an arbitrary other object. Read more
Source§fn hash(&self) -> usize
fn hash(&self) -> usize
An integer that can be used as a table address in a hash table
structure. Read more
Source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of the class, or one of its
subclasses. Read more
Source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
Check if the object is an instance of the class type, or one of its
subclasses. Read more
Source§fn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of a specific class, without
checking subclasses. Read more
Source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Check whether the object implements or inherits a method with the
given selector. Read more
Source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Check whether the object conforms to a given protocol. Read more
Source§fn debugDescription(&self) -> Id<NSObject>
fn debugDescription(&self) -> Id<NSObject>
A textual representation of the object to use when debugging. Read more
Source§impl PartialEq for DOMHTMLFrameElement
impl PartialEq for DOMHTMLFrameElement
Source§impl RefEncode for DOMHTMLFrameElement
impl RefEncode for DOMHTMLFrameElement
Source§const ENCODING_REF: Encoding = <DOMHTMLElement as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <DOMHTMLElement as ::objc2::RefEncode>::ENCODING_REF
The Objective-C type-encoding for a reference of this type. Read more
impl Eq for DOMHTMLFrameElement
impl Message for DOMHTMLFrameElement
impl StructuralPartialEq for DOMHTMLFrameElement
Auto Trait Implementations§
impl !Freeze for DOMHTMLFrameElement
impl !RefUnwindSafe for DOMHTMLFrameElement
impl !Send for DOMHTMLFrameElement
impl !Sync for DOMHTMLFrameElement
impl !Unpin for DOMHTMLFrameElement
impl !UnwindSafe for DOMHTMLFrameElement
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