Struct xpcom::interfaces::nsIDocumentLoaderFactory [] [src]

#[repr(C)]
pub struct nsIDocumentLoaderFactory { /* fields omitted */ }

interface nsIDocumentLoaderFactory : nsISupports

/**
 * To get a component that implements nsIDocumentLoaderFactory
 * for a given mimetype, use nsICategoryManager to find an entry
 * with the mimetype as its name in the category "Gecko-Content-Viewers".
 * The value of the entry is the contractid of the component.
 * The component is a service, so use GetService, not CreateInstance to get it.
 */

Methods

impl nsIDocumentLoaderFactory
[src]

[src]

Cast this nsIDocumentLoaderFactory to one of its base interfaces.

impl nsIDocumentLoaderFactory
[src]

[src]

nsIContentViewer createInstance (in string aCommand, in nsIChannel aChannel, in nsILoadGroup aLoadGroup, in ACString aContentType, in nsIDocShell aContainer, in nsISupports aExtraInfo, out nsIStreamListener aDocListenerResult);

[src]

nsIContentViewer createInstanceForDocument (in nsISupports aContainer, in nsIDocument aDocument, in string aCommand);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDocumentLoaderFactory
[src]

IID: nsIID = nsID(3885310878, 40252, 18372, [176, 99, 158, 96, 15, 179, 178, 135])

[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 nsIDocumentLoaderFactory
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDocumentLoaderFactory
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.