Struct xpcom::interfaces::nsIAccessibleScrollType [] [src]

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

interface nsIAccessibleScrollType : nsISupports

/**
 * These constants control the scrolling of an object or substring into a
 * window. Note, keep them synchronized with IA2ScrollType.
 */

Methods

impl nsIAccessibleScrollType
[src]

[src]

Cast this nsIAccessibleScrollType to one of its base interfaces.

impl nsIAccessibleScrollType
[src]

SCROLL_TYPE_TOP_LEFT: i64 = 0
/**
   * Scroll the top left of the object or substring to the top left of the
   * window (or as close as possible).
   */

SCROLL_TYPE_BOTTOM_RIGHT: i64 = 1
/**
   * Scroll the bottom right of the object or substring to the bottom right of
   * the window (or as close as possible).
   */

SCROLL_TYPE_TOP_EDGE: i64 = 2
/**
   * Scroll the top edge of the object or substring to the top edge of the
   * window (or as close as possible).
   */

SCROLL_TYPE_BOTTOM_EDGE: i64 = 3
/**
   * Scroll the bottom edge of the object or substring to the bottom edge of
   * the window (or as close as possible).
   */

SCROLL_TYPE_LEFT_EDGE: i64 = 4
/**
   * Scroll the left edge of the object or substring to the left edge of the
   * window (or as close as possible).
   */

SCROLL_TYPE_RIGHT_EDGE: i64 = 5
/**
   * Scroll the right edge of the object or substring to the right edge of the
   * window (or as close as possible).
   */

SCROLL_TYPE_ANYWHERE: i64 = 6
/**
   * Scroll an object the minimum amount necessary in order for the entire
   * frame to be visible (if possible).
   */

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

IID: nsIID = nsID(97335473, 38067, 19679, [131, 113, 57, 53, 169, 97, 20, 5])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAccessibleScrollType
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.