Struct xpcom::interfaces::nsIAccessiblePivotObserver
[−]
[src]
#[repr(C)]pub struct nsIAccessiblePivotObserver { /* fields omitted */ }
interface nsIAccessiblePivotObserver : nsISupports
Methods
impl nsIAccessiblePivotObserver
[src]
pub fn coerce<T: nsIAccessiblePivotObserverCoerce>(&self) -> &T
[src]
Cast this nsIAccessiblePivotObserver
to one of its base interfaces.
impl nsIAccessiblePivotObserver
[src]
pub unsafe fn OnPivotChanged(
&self,
aPivot: *const nsIAccessiblePivot,
aOldAccessible: *const nsIAccessible,
aOldStart: int32_t,
aOldEnd: int32_t,
aReason: PivotMoveReason,
aIsFromUserInput: bool
) -> nsresult
[src]
&self,
aPivot: *const nsIAccessiblePivot,
aOldAccessible: *const nsIAccessible,
aOldStart: int32_t,
aOldEnd: int32_t,
aReason: PivotMoveReason,
aIsFromUserInput: bool
) -> nsresult
/**
* An observer interface for pivot changes.
*/
/**
* Called when the pivot changes.
*
* @param aPivot [in] the pivot that has changed.
* @param aOldAccessible [in] the old pivot position before the change,
* or null.
* @param aOldStart [in] the old start offset, or -1.
* @param aOldEnd [in] the old end offset, or -1.
* @param aReason [in] the reason for the pivot change.
* @param aIsFromUserInput [in] the pivot changed because of direct user input
* (default is true).
*/
void onPivotChanged (in nsIAccessiblePivot aPivot, in nsIAccessible aOldAccessible, in long aOldStart, in long aOldEnd, in PivotMoveReason aReason, in boolean aIsFromUserInput);
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 nsIAccessiblePivotObserver
[src]
const IID: nsIID
IID: nsIID = nsID(1611064578, 14433, 18877, [171, 161, 250, 109, 46, 116, 226, 55])
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 nsIAccessiblePivotObserver
[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 nsIAccessiblePivotObserver
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.