#[repr(C)]pub struct DOMHTMLParagraphElement { /* private fields */ }
👎Deprecated
Available on crate features
WebKit
and WebKit_DOMHTMLParagraphElement
only.Implementations§
Source§impl DOMHTMLParagraphElement
Methods declared on superclass DOMObject
impl DOMHTMLParagraphElement
Methods declared on superclass DOMObject
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-kit
Available 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-kit
Available 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-kit
Available on crate features
WebKit_DOMHTMLElement
and Foundation_NSString
only.pub unsafe fn click(&self)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn clientTop(&self) -> c_int
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn nextElementSibling(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn firstElementChild(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn lastElementChild(&self) -> Option<Id<DOMElement>>
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn childElementCount(&self) -> c_uint
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available on crate features
WebKit_DOMElement
and Foundation_NSString
only.pub unsafe fn focus(&self)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn blur(&self)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn scrollIntoView(&self, align_with_top: bool)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn scrollIntoViewIfNeeded(&self, center_if_needed: bool)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn scrollByLines(&self, lines: c_int)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available on crate feature
WebKit_DOMElement
only.pub unsafe fn scrollByPages(&self, pages: c_int)
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available on crate feature
WebKit_DOMNode
only.pub unsafe fn lineBoxRects(&self) -> Option<Id<NSArray>>
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available on crate features
WebKit_DOMNode
and WebKit_DOMElement
only.pub unsafe fn isContentEditable(&self) -> bool
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available on crate feature
WebKit_DOMNode
only.pub unsafe fn isEqualNode(&self, other: Option<&DOMNode>) -> bool
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available 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-kit
Available on crate feature
WebKit_DOMNode
only.pub unsafe fn contains(&self, other: Option<&DOMNode>) -> bool
👎Deprecated:
icrate::WebKit
has been moved to objc2-web-kit
Available 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-kit
Available 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 DOMHTMLParagraphElement
impl AsMut<AnyObject> for DOMHTMLParagraphElement
Source§impl AsMut<DOMElement> for DOMHTMLParagraphElement
impl AsMut<DOMElement> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl AsMut<DOMHTMLElement> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl AsMut<DOMNode> for DOMHTMLParagraphElement
Source§impl AsMut<DOMObject> for DOMHTMLParagraphElement
impl AsMut<DOMObject> for DOMHTMLParagraphElement
Source§impl AsMut<NSObject> for DOMHTMLParagraphElement
impl AsMut<NSObject> for DOMHTMLParagraphElement
Source§impl AsMut<WebScriptObject> for DOMHTMLParagraphElement
impl AsMut<WebScriptObject> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl AsRef<AnyObject> for DOMHTMLParagraphElement
Source§impl AsRef<DOMElement> for DOMHTMLParagraphElement
impl AsRef<DOMElement> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl AsRef<DOMHTMLElement> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl AsRef<DOMNode> for DOMHTMLParagraphElement
Source§impl AsRef<DOMObject> for DOMHTMLParagraphElement
impl AsRef<DOMObject> for DOMHTMLParagraphElement
Source§impl AsRef<NSObject> for DOMHTMLParagraphElement
impl AsRef<NSObject> for DOMHTMLParagraphElement
Source§impl AsRef<WebScriptObject> for DOMHTMLParagraphElement
impl AsRef<WebScriptObject> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl Borrow<AnyObject> for DOMHTMLParagraphElement
Source§impl Borrow<DOMElement> for DOMHTMLParagraphElement
impl Borrow<DOMElement> for DOMHTMLParagraphElement
Source§fn borrow(&self) -> &DOMElement
fn borrow(&self) -> &DOMElement
Immutably borrows from an owned value. Read more
Source§impl Borrow<DOMHTMLElement> for DOMHTMLParagraphElement
impl Borrow<DOMHTMLElement> for DOMHTMLParagraphElement
Source§fn borrow(&self) -> &DOMHTMLElement
fn borrow(&self) -> &DOMHTMLElement
Immutably borrows from an owned value. Read more
Source§impl Borrow<DOMNode> for DOMHTMLParagraphElement
impl Borrow<DOMNode> for DOMHTMLParagraphElement
Source§impl Borrow<DOMObject> for DOMHTMLParagraphElement
impl Borrow<DOMObject> for DOMHTMLParagraphElement
Source§impl Borrow<NSObject> for DOMHTMLParagraphElement
impl Borrow<NSObject> for DOMHTMLParagraphElement
Source§impl Borrow<WebScriptObject> for DOMHTMLParagraphElement
impl Borrow<WebScriptObject> for DOMHTMLParagraphElement
Source§fn borrow(&self) -> &WebScriptObject
fn borrow(&self) -> &WebScriptObject
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<AnyObject> for DOMHTMLParagraphElement
impl BorrowMut<AnyObject> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl BorrowMut<DOMElement> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl BorrowMut<DOMHTMLElement> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl BorrowMut<DOMNode> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl BorrowMut<DOMObject> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl BorrowMut<NSObject> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl BorrowMut<WebScriptObject> for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl ClassType for DOMHTMLParagraphElement
Source§const NAME: &'static str = "DOMHTMLParagraphElement"
const NAME: &'static str = "DOMHTMLParagraphElement"
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 DOMHTMLParagraphElement
impl DOMEventTarget for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl Debug for DOMHTMLParagraphElement
Source§impl Deref for DOMHTMLParagraphElement
impl Deref for DOMHTMLParagraphElement
Source§impl DerefMut for DOMHTMLParagraphElement
impl DerefMut for DOMHTMLParagraphElement
Source§impl Hash for DOMHTMLParagraphElement
impl Hash for DOMHTMLParagraphElement
Source§impl NSCopying for DOMHTMLParagraphElement
impl NSCopying for DOMHTMLParagraphElement
Source§fn copy(&self) -> Id<Self::Immutable>
fn copy(&self) -> Id<Self::Immutable>
👎Deprecated:
icrate::Foundation
has been moved to objc2-foundation
Available on crate feature
Foundation
only.Returns a new instance that’s a copy of the receiver. Read more
Source§impl NSObjectProtocol for DOMHTMLParagraphElement
impl NSObjectProtocol for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl PartialEq for DOMHTMLParagraphElement
Source§impl RefEncode for DOMHTMLParagraphElement
impl RefEncode for DOMHTMLParagraphElement
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 DOMHTMLParagraphElement
impl Message for DOMHTMLParagraphElement
impl StructuralPartialEq for DOMHTMLParagraphElement
Auto Trait Implementations§
impl !Freeze for DOMHTMLParagraphElement
impl !RefUnwindSafe for DOMHTMLParagraphElement
impl !Send for DOMHTMLParagraphElement
impl !Sync for DOMHTMLParagraphElement
impl !Unpin for DOMHTMLParagraphElement
impl !UnwindSafe for DOMHTMLParagraphElement
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