Struct xpcom::interfaces::nsIWebBrowserPersistURIMap [] [src]

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

interface nsIWebBrowserPersistURIMap : nsISupports

/**
 * Interface for the URI-mapping information that can be supplied when
 * serializing the DOM of an nsIWebBrowserPersistDocument.
 *
 * @see nsIWebBrowserPersistDocument
 */

Methods

impl nsIWebBrowserPersistURIMap
[src]

[src]

Cast this nsIWebBrowserPersistURIMap to one of its base interfaces.

impl nsIWebBrowserPersistURIMap
[src]

[src]

/**
   * The number of URI mappings.
   */

readonly attribute unsigned long numMappedURIs;

[src]

/**
   * Obtain the URI mapping at the given index, which must be less than
   * numMappedURIs, as a pair of URI spec strings.
   */

void getURIMapping (in unsigned long aIndex, out AUTF8String aMapFrom, out AUTF8String aMapTo);

[src]

/**
   * The spec of the base URI that the document will have after it is
   * serialized.
   */

readonly attribute AUTF8String targetBaseURI;

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

IID: nsIID = nsID(3576597395, 10097, 17896, [165, 176, 110, 18, 182, 103, 4, 107])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIWebBrowserPersistURIMap
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.