Struct xpcom::interfaces::nsIAlertNotificationImageListener [] [src]

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

interface nsIAlertNotificationImageListener : nsISupports

Methods

impl nsIAlertNotificationImageListener
[src]

[src]

Cast this nsIAlertNotificationImageListener to one of its base interfaces.

impl nsIAlertNotificationImageListener
[src]

[src]

/**
   * Called when the image finishes loading.
   *
   * @param aUserData An opaque parameter passed to |loadImage|.
   * @param aRequest  The image request.
   */

void onImageReady (in nsISupports aUserData, in imgIRequest aRequest);

[src]

/**
   * Called if the alert doesn't have an image, or if the image request times
   * out or fails.
   *
   * @param aUserData An opaque parameter passed to |loadImage|.
   */

void onImageMissing (in nsISupports aUserData);

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

IID: nsIID = nsID(2803524477, 56861, 18374, [168, 210, 198, 11, 37, 150, 244, 113])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAlertNotificationImageListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.