Struct xpcom::interfaces::nsIAccessibleImage
[−]
[src]
#[repr(C)]pub struct nsIAccessibleImage { /* fields omitted */ }
interface nsIAccessibleImage : nsISupports
Methods
impl nsIAccessibleImage
[src]
pub fn coerce<T: nsIAccessibleImageCoerce>(&self) -> &T
[src]
Cast this nsIAccessibleImage
to one of its base interfaces.
impl nsIAccessibleImage
[src]
pub unsafe fn GetImagePosition(
&self,
coordType: uint32_t,
x: *mut int32_t,
y: *mut int32_t
) -> nsresult
[src]
&self,
coordType: uint32_t,
x: *mut int32_t,
y: *mut int32_t
) -> nsresult
/**
* 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);
pub unsafe fn GetImageSize(
&self,
width: *mut int32_t,
height: *mut int32_t
) -> nsresult
[src]
&self,
width: *mut int32_t,
height: *mut int32_t
) -> nsresult
/**
* 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>
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 nsIAccessibleImage
[src]
const IID: nsIID
IID: nsIID = nsID(151545379, 3849, 17168, [172, 86, 194, 205, 167, 194, 150, 72])
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 nsIAccessibleImage
[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 nsIAccessibleImage
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.