Struct xpcom::interfaces::nsIDOMDOMImplementation
[−]
[src]
#[repr(C)]pub struct nsIDOMDOMImplementation { /* fields omitted */ }
interface nsIDOMDOMImplementation : nsISupports
Methods
impl nsIDOMDOMImplementation
[src]
pub fn coerce<T: nsIDOMDOMImplementationCoerce>(&self) -> &T
[src]
Cast this nsIDOMDOMImplementation
to one of its base interfaces.
impl nsIDOMDOMImplementation
[src]
pub unsafe fn HasFeature(
&self,
feature: &nsAString,
version: &nsAString,
_retval: *mut bool
) -> nsresult
[src]
&self,
feature: &nsAString,
version: &nsAString,
_retval: *mut bool
) -> nsresult
/**
* The nsIDOMDOMImplementation interface provides a number of methods for
* performing operations that are independent of any particular instance
* of the document object model.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
boolean hasFeature (in DOMString feature, in DOMString version);
pub unsafe fn CreateDocumentType(
&self,
qualifiedName: &nsAString,
publicId: &nsAString,
systemId: &nsAString,
_retval: *mut *const nsIDOMDocumentType
) -> nsresult
[src]
&self,
qualifiedName: &nsAString,
publicId: &nsAString,
systemId: &nsAString,
_retval: *mut *const nsIDOMDocumentType
) -> nsresult
nsIDOMDocumentType createDocumentType (in DOMString qualifiedName, in DOMString publicId, in DOMString systemId) raises (DOMException);
pub unsafe fn CreateDocument(
&self,
namespaceURI: &nsAString,
qualifiedName: &nsAString,
doctype: *const nsIDOMDocumentType,
_retval: *mut *const nsIDOMDocument
) -> nsresult
[src]
&self,
namespaceURI: &nsAString,
qualifiedName: &nsAString,
doctype: *const nsIDOMDocumentType,
_retval: *mut *const nsIDOMDocument
) -> nsresult
nsIDOMDocument createDocument (in DOMString namespaceURI, in DOMString qualifiedName, in nsIDOMDocumentType doctype) raises (DOMException);
pub unsafe fn CreateHTMLDocument(
&self,
title: &nsAString,
_retval: *mut *const nsIDOMDocument
) -> nsresult
[src]
&self,
title: &nsAString,
_retval: *mut *const nsIDOMDocument
) -> nsresult
/**
* Returns an HTML document with a basic DOM already constructed and with an
* appropriate title element.
*
* @param title the title of the Document
* @see <http://www.whatwg.org/html/#creating-documents>
*/
nsIDOMDocument createHTMLDocument ([Null (Stringify)] in DOMString title);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIDOMDOMImplementation
[src]
const IID: nsIID
IID: nsIID = nsID(61273460, 39404, 17144, [158, 108, 129, 42, 74, 155, 203, 247])
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 nsIDOMDOMImplementation
[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 nsIDOMDOMImplementation
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.