#[repr(C)]pub struct DOMHTMLTextAreaElement { /* private fields */ }👎Deprecated
Available on crate features
WebKit and WebKit_DOMHTMLTextAreaElement only.Implementations§
Source§impl DOMHTMLTextAreaElement
impl DOMHTMLTextAreaElement
pub unsafe fn autofocus(&self) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn setAutofocus(&self, autofocus: bool)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn disabled(&self) -> bool
👎Deprecated
pub unsafe fn setDisabled(&self, disabled: bool)
👎Deprecated
pub unsafe fn form(&self) -> Option<Id<DOMHTMLFormElement>>
👎Deprecated
Available on crate feature
WebKit_DOMHTMLFormElement 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 readOnly(&self) -> bool
👎Deprecated
pub unsafe fn setReadOnly(&self, read_only: bool)
👎Deprecated
pub unsafe fn rows(&self) -> c_int
👎Deprecated
pub unsafe fn setRows(&self, rows: c_int)
👎Deprecated
pub unsafe fn cols(&self) -> c_int
👎Deprecated
pub unsafe fn setCols(&self, cols: c_int)
👎Deprecated
pub unsafe fn type(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn defaultValue(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setDefaultValue(&self, default_value: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn value(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setValue(&self, value: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn willValidate(&self) -> bool
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn selectionStart(&self) -> c_int
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn setSelectionStart(&self, selection_start: c_int)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn selectionEnd(&self) -> c_int
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn setSelectionEnd(&self, selection_end: c_int)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitpub unsafe fn accessKey(&self) -> Id<NSString>
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn setAccessKey(&self, access_key: Option<&NSString>)
👎Deprecated
Available on crate feature
Foundation_NSString only.pub unsafe fn select(&self)
👎Deprecated
pub unsafe fn setSelectionRange_end(&self, start: c_int, end: c_int)
👎Deprecated:
icrate::WebKit has been moved to objc2-web-kitSource§impl DOMHTMLTextAreaElement
Methods declared on superclass DOMObject
impl DOMHTMLTextAreaElement
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-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 DOMHTMLTextAreaElement
impl AsMut<AnyObject> for DOMHTMLTextAreaElement
Source§impl AsMut<DOMElement> for DOMHTMLTextAreaElement
impl AsMut<DOMElement> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl AsMut<DOMHTMLElement> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl AsMut<DOMNode> for DOMHTMLTextAreaElement
Source§impl AsMut<DOMObject> for DOMHTMLTextAreaElement
impl AsMut<DOMObject> for DOMHTMLTextAreaElement
Source§impl AsMut<NSObject> for DOMHTMLTextAreaElement
impl AsMut<NSObject> for DOMHTMLTextAreaElement
Source§impl AsMut<WebScriptObject> for DOMHTMLTextAreaElement
impl AsMut<WebScriptObject> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl AsRef<AnyObject> for DOMHTMLTextAreaElement
Source§impl AsRef<DOMElement> for DOMHTMLTextAreaElement
impl AsRef<DOMElement> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl AsRef<DOMHTMLElement> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl AsRef<DOMNode> for DOMHTMLTextAreaElement
Source§impl AsRef<DOMObject> for DOMHTMLTextAreaElement
impl AsRef<DOMObject> for DOMHTMLTextAreaElement
Source§impl AsRef<NSObject> for DOMHTMLTextAreaElement
impl AsRef<NSObject> for DOMHTMLTextAreaElement
Source§impl AsRef<WebScriptObject> for DOMHTMLTextAreaElement
impl AsRef<WebScriptObject> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl Borrow<AnyObject> for DOMHTMLTextAreaElement
Source§impl Borrow<DOMElement> for DOMHTMLTextAreaElement
impl Borrow<DOMElement> for DOMHTMLTextAreaElement
Source§fn borrow(&self) -> &DOMElement
fn borrow(&self) -> &DOMElement
Immutably borrows from an owned value. Read more
Source§impl Borrow<DOMHTMLElement> for DOMHTMLTextAreaElement
impl Borrow<DOMHTMLElement> for DOMHTMLTextAreaElement
Source§fn borrow(&self) -> &DOMHTMLElement
fn borrow(&self) -> &DOMHTMLElement
Immutably borrows from an owned value. Read more
Source§impl Borrow<DOMNode> for DOMHTMLTextAreaElement
impl Borrow<DOMNode> for DOMHTMLTextAreaElement
Source§impl Borrow<DOMObject> for DOMHTMLTextAreaElement
impl Borrow<DOMObject> for DOMHTMLTextAreaElement
Source§impl Borrow<NSObject> for DOMHTMLTextAreaElement
impl Borrow<NSObject> for DOMHTMLTextAreaElement
Source§impl Borrow<WebScriptObject> for DOMHTMLTextAreaElement
impl Borrow<WebScriptObject> for DOMHTMLTextAreaElement
Source§fn borrow(&self) -> &WebScriptObject
fn borrow(&self) -> &WebScriptObject
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<AnyObject> for DOMHTMLTextAreaElement
impl BorrowMut<AnyObject> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl BorrowMut<DOMElement> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl BorrowMut<DOMHTMLElement> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl BorrowMut<DOMNode> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl BorrowMut<DOMObject> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl BorrowMut<NSObject> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl BorrowMut<WebScriptObject> for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl ClassType for DOMHTMLTextAreaElement
Source§const NAME: &'static str = "DOMHTMLTextAreaElement"
const NAME: &'static str = "DOMHTMLTextAreaElement"
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 DOMHTMLTextAreaElement
impl DOMEventTarget for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl Debug for DOMHTMLTextAreaElement
Source§impl Deref for DOMHTMLTextAreaElement
impl Deref for DOMHTMLTextAreaElement
Source§impl DerefMut for DOMHTMLTextAreaElement
impl DerefMut for DOMHTMLTextAreaElement
Source§impl Hash for DOMHTMLTextAreaElement
impl Hash for DOMHTMLTextAreaElement
Source§impl NSCopying for DOMHTMLTextAreaElement
impl NSCopying for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl NSObjectProtocol for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl PartialEq for DOMHTMLTextAreaElement
Source§impl RefEncode for DOMHTMLTextAreaElement
impl RefEncode for DOMHTMLTextAreaElement
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 DOMHTMLTextAreaElement
impl Message for DOMHTMLTextAreaElement
impl StructuralPartialEq for DOMHTMLTextAreaElement
Auto Trait Implementations§
impl !Freeze for DOMHTMLTextAreaElement
impl !RefUnwindSafe for DOMHTMLTextAreaElement
impl !Send for DOMHTMLTextAreaElement
impl !Sync for DOMHTMLTextAreaElement
impl !Unpin for DOMHTMLTextAreaElement
impl !UnwindSafe for DOMHTMLTextAreaElement
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