Struct xpcom::interfaces::nsIAccessibleHyperText [] [src]

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

interface nsIAccessibleHyperText : nsISupports

/**
 * A cross-platform interface that deals with text which contains hyperlinks.
 * Each link is an embedded object representing exactly 1 character within
 * the hypertext.
 *
 * Current implementation assumes every embedded object is a link.
 */

Methods

impl nsIAccessibleHyperText
[src]

[src]

Cast this nsIAccessibleHyperText to one of its base interfaces.

impl nsIAccessibleHyperText
[src]

[src]

/**
   * Return the number of links contained within this hypertext object.
   */

readonly attribute long linkCount;

[src]

/**
   * Return link accessible at the given index.
   *
   * @param index  [in] 0-based index of the link that is to be retrieved
   *
   * @return       link accessible or null if there is no link at that index
   */

nsIAccessibleHyperLink getLinkAt (in long index);

[src]

/**
   * Return index of the given link.
   *
   * @param link  [in] link accessible the index is requested for
   *
   * @return      index of the given link or null if there's no link within
   *                hypertext accessible
   */

long getLinkIndex (in nsIAccessibleHyperLink link);

[src]

long getLinkIndexAtOffset (in long offset);

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

IID: nsIID = nsID(3006694626, 2316, 19997, [163, 217, 244, 180, 111, 66, 55, 185])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleHyperText
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.