Struct xpcom::interfaces::nsILoadContextInfoFactory [] [src]

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

interface nsILoadContextInfoFactory : nsISupports

/**
 * Since OriginAttributes struct limits the implementation of
 * nsILoadContextInfo (that needs to be thread safe) to C++,
 * we need a scriptable factory to create instances of that
 * interface from JS.
 */

Methods

impl nsILoadContextInfoFactory
[src]

[src]

Cast this nsILoadContextInfoFactory to one of its base interfaces.

impl nsILoadContextInfoFactory
[src]

[src]

readonly attribute nsILoadContextInfo default;

[src]

readonly attribute nsILoadContextInfo private;

[src]

readonly attribute nsILoadContextInfo anonymous;

[src]

nsILoadContextInfo fromLoadContext (in nsILoadContext aLoadContext, in boolean aAnonymous);

[src]

nsILoadContextInfo fromWindow (in nsIDOMWindow aWindow, in boolean aAnonymous);

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

IID: nsIID = nsID(3251044925, 17176, 20377, [131, 7, 181, 204, 240, 85, 135, 147])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsILoadContextInfoFactory
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.