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]
pub fn coerce<T: nsIAccessibleScrollTypeCoerce>(&self) -> &T
[src]
Cast this nsIAccessibleScrollType
to one of its base interfaces.
impl nsIAccessibleScrollType
[src]
pub const SCROLL_TYPE_TOP_LEFT: i64
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).
*/
pub const SCROLL_TYPE_BOTTOM_RIGHT: i64
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).
*/
pub const SCROLL_TYPE_TOP_EDGE: i64
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).
*/
pub const SCROLL_TYPE_BOTTOM_EDGE: i64
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).
*/
pub const SCROLL_TYPE_LEFT_EDGE: i64
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).
*/
pub const SCROLL_TYPE_RIGHT_EDGE: i64
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).
*/
pub const SCROLL_TYPE_ANYWHERE: i64
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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIAccessibleScrollType
[src]
const IID: nsIID
IID: nsIID = nsID(97335473, 38067, 19679, [131, 113, 57, 53, 169, 97, 20, 5])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIAccessibleScrollType
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.