Struct xpcom::interfaces::nsIContentPermissionType [] [src]

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

interface nsIContentPermissionType : nsISupports

/**
 *  Interface provides the request type and its access.
 */

Methods

impl nsIContentPermissionType
[src]

[src]

Cast this nsIContentPermissionType to one of its base interfaces.

impl nsIContentPermissionType
[src]

[src]

/**
   *  The type of the permission request, such as
   *  "geolocation".
   */

readonly attribute ACString type;

[src]

/**
   *  The access of the permission request, such as
   *  "read".
   */

readonly attribute ACString access;

[src]

/**
   * The array of available options.
   */

readonly attribute nsIArray options;

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

IID: nsIID = nsID(4014846904, 51868, 19229, [143, 129, 253, 136, 236, 50, 175, 19])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIContentPermissionType
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.