Struct xpcom::interfaces::nsIAccessibleImage [] [src]

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

interface nsIAccessibleImage : nsISupports

Methods

impl nsIAccessibleImage
[src]

[src]

Cast this nsIAccessibleImage to one of its base interfaces.

impl nsIAccessibleImage
[src]

[src]

/**
   * Returns the coordinates of the image.
   *
   * @param coordType  specifies coordinates origin (for available constants
   *                   refer to nsIAccessibleCoordinateType)
   * @param x          the x coordinate
   * @param y          the y coordinate
   */

void getImagePosition (in unsigned long coordType, out long x, out long y);

[src]

/**
   * Returns the size of the image.
   *
   * @param width      the heigth
   * @param height     the width
   */

void getImageSize (out long width, out long height);

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

IID: nsIID = nsID(151545379, 3849, 17168, [172, 86, 194, 205, 167, 194, 150, 72])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleImage
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.