Struct xpcom::interfaces::nsIDOMDocumentFragment
[−]
[src]
#[repr(C)]pub struct nsIDOMDocumentFragment { /* fields omitted */ }
interface nsIDOMDocumentFragment : nsIDOMNode
Methods
impl nsIDOMDocumentFragment
[src]
pub fn coerce<T: nsIDOMDocumentFragmentCoerce>(&self) -> &T
[src]
Cast this nsIDOMDocumentFragment
to one of its base interfaces.
Methods from Deref<Target = nsIDOMNode>
pub fn coerce<T: nsIDOMNodeCoerce>(&self) -> &T
[src]
Cast this nsIDOMNode
to one of its base interfaces.
pub const ELEMENT_NODE: i64
pub const ATTRIBUTE_NODE: i64
pub const TEXT_NODE: i64
pub const CDATA_SECTION_NODE: i64
pub const ENTITY_REFERENCE_NODE: i64
pub const ENTITY_NODE: i64
pub const PROCESSING_INSTRUCTION_NODE: i64
pub const COMMENT_NODE: i64
pub const DOCUMENT_NODE: i64
pub const DOCUMENT_TYPE_NODE: i64
pub const DOCUMENT_FRAGMENT_NODE: i64
pub const NOTATION_NODE: i64
pub const DOCUMENT_POSITION_DISCONNECTED: i64
pub const DOCUMENT_POSITION_PRECEDING: i64
pub const DOCUMENT_POSITION_FOLLOWING: i64
pub const DOCUMENT_POSITION_CONTAINS: i64
pub const DOCUMENT_POSITION_CONTAINED_BY: i64
pub const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: i64
pub unsafe fn GetNodeName(&self, aNodeName: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString nodeName;
pub unsafe fn GetNodeValue(&self, aNodeValue: &mut nsAString) -> nsresult
[src]
attribute DOMString nodeValue;
pub unsafe fn SetNodeValue(&self, aNodeValue: &nsAString) -> nsresult
[src]
attribute DOMString nodeValue;
pub unsafe fn GetNodeType(&self, aNodeType: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short nodeType;
pub unsafe fn GetParentNode(
&self,
aParentNode: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aParentNode: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode parentNode;
pub unsafe fn GetChildNodes(
&self,
aChildNodes: *mut *const nsIDOMNodeList
) -> nsresult
[src]
&self,
aChildNodes: *mut *const nsIDOMNodeList
) -> nsresult
readonly attribute nsIDOMNodeList childNodes;
pub unsafe fn GetFirstChild(
&self,
aFirstChild: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aFirstChild: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode firstChild;
pub unsafe fn GetLastChild(
&self,
aLastChild: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aLastChild: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode lastChild;
pub unsafe fn GetPreviousSibling(
&self,
aPreviousSibling: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aPreviousSibling: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode previousSibling;
pub unsafe fn GetNextSibling(
&self,
aNextSibling: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aNextSibling: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode nextSibling;
pub unsafe fn GetOwnerDocument(
&self,
aOwnerDocument: *mut *const nsIDOMDocument
) -> nsresult
[src]
&self,
aOwnerDocument: *mut *const nsIDOMDocument
) -> nsresult
readonly attribute nsIDOMDocument ownerDocument;
pub unsafe fn RemoveChild(
&self,
oldChild: *const nsIDOMNode,
_retval: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
oldChild: *const nsIDOMNode,
_retval: *mut *const nsIDOMNode
) -> nsresult
nsIDOMNode removeChild (in nsIDOMNode oldChild) raises (DOMException);
pub unsafe fn HasChildNodes(&self, _retval: *mut bool) -> nsresult
[src]
boolean hasChildNodes ();
pub unsafe fn GetNamespaceURI(&self, aNamespaceURI: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString namespaceURI;
pub unsafe fn GetPrefix(&self, aPrefix: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString prefix;
pub unsafe fn GetLocalName(&self, aLocalName: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString localName;
pub unsafe fn GetTextContent(&self, aTextContent: &mut nsAString) -> nsresult
[src]
attribute DOMString textContent;
pub unsafe fn SetTextContent(&self, aTextContent: &nsAString) -> nsresult
[src]
attribute DOMString textContent;
Trait Implementations
impl XpCom for nsIDOMDocumentFragment
[src]
const IID: nsIID
IID: nsIID = nsID(1223396722, 38331, 16430, [168, 252, 242, 177, 135, 171, 203, 219])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIDOMDocumentFragment
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMDocumentFragment
[src]
type Target = nsIDOMNode
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMNode
[src]
Dereferences the value.