Struct xpcom::interfaces::nsIWebPageDescriptor [] [src]

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

interface nsIWebPageDescriptor : nsISupports

/**
 * The nsIWebPageDescriptor interface allows content being displayed in one
 * window to be loaded into another window without refetching it from the
 * network.
 */

Methods

impl nsIWebPageDescriptor
[src]

[src]

Cast this nsIWebPageDescriptor to one of its base interfaces.

impl nsIWebPageDescriptor
[src]

DISPLAY_AS_SOURCE: i64 = 1

DISPLAY_NORMAL: i64 = 2

[src]

/**
  * Tells the object to load the page specified by the page descriptor
  *
  * @throws NS_ERROR_FAILURE -
  */

void loadPage (in nsISupports aPageDescriptor, in unsigned long aDisplayType);

[src]

/**
  * Retrieves the page descriptor for the curent document.
  */

readonly attribute nsISupports currentDescriptor;

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

IID: nsIID = nsID(1865463414, 14096, 19500, [128, 177, 3, 149, 251, 38, 81, 110])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIWebPageDescriptor
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.