Struct xpcom::interfaces::nsIAccessibleDocument
[−]
[src]
#[repr(C)]pub struct nsIAccessibleDocument { /* fields omitted */ }
interface nsIAccessibleDocument : nsISupports
/**
* An interface for in-process accessibility clients
* that wish to retrieve information about a document.
* When accessibility is turned on in Gecko,
* there is an nsIAccessibleDocument for each document
* whether it is XUL, HTML or whatever.
* You can QueryInterface to nsIAccessibleDocument from the nsIAccessible for
* the root node of a document or you can get one from
* nsIAccessible::GetDocument().
*/
Methods
impl nsIAccessibleDocument
[src]
pub fn coerce<T: nsIAccessibleDocumentCoerce>(&self) -> &T
[src]
Cast this nsIAccessibleDocument
to one of its base interfaces.
impl nsIAccessibleDocument
[src]
pub unsafe fn GetURL(&self, aURL: &mut nsAString) -> nsresult
[src]
/**
* The URL of the document
*/
readonly attribute AString URL;
pub unsafe fn GetTitle(&self, aTitle: &mut nsAString) -> nsresult
[src]
/**
* The title of the document, as specified in the document.
*/
readonly attribute AString title;
pub unsafe fn GetMimeType(&self, aMimeType: &mut nsAString) -> nsresult
[src]
/**
* The mime type of the document
*/
readonly attribute AString mimeType;
pub unsafe fn GetDocType(&self, aDocType: &mut nsAString) -> nsresult
[src]
/**
* The doc type of the document, as specified in the document.
*/
readonly attribute AString docType;
pub unsafe fn GetDOMDocument(
&self,
aDOMDocument: *mut *const nsIDOMDocument
) -> nsresult
[src]
&self,
aDOMDocument: *mut *const nsIDOMDocument
) -> nsresult
/**
* The nsIDOMDocument interface associated with this document.
*/
readonly attribute nsIDOMDocument DOMDocument;
pub unsafe fn GetWindow(
&self,
aWindow: *mut *const mozIDOMWindowProxy
) -> nsresult
[src]
&self,
aWindow: *mut *const mozIDOMWindowProxy
) -> nsresult
/**
* The nsIDOMWindow that the document resides in.
*/
readonly attribute mozIDOMWindowProxy window;
pub unsafe fn GetParentDocument(
&self,
aParentDocument: *mut *const nsIAccessibleDocument
) -> nsresult
[src]
&self,
aParentDocument: *mut *const nsIAccessibleDocument
) -> nsresult
/**
* Return the parent document accessible.
*/
readonly attribute nsIAccessibleDocument parentDocument;
pub unsafe fn GetChildDocumentCount(
&self,
aChildDocumentCount: *mut uint32_t
) -> nsresult
[src]
&self,
aChildDocumentCount: *mut uint32_t
) -> nsresult
/**
* Return the count of child document accessibles.
*/
readonly attribute unsigned long childDocumentCount;
pub unsafe fn GetVirtualCursor(
&self,
aVirtualCursor: *mut *const nsIAccessiblePivot
) -> nsresult
[src]
&self,
aVirtualCursor: *mut *const nsIAccessiblePivot
) -> nsresult
/**
* The virtual cursor pivot this document manages.
*/
readonly attribute nsIAccessiblePivot virtualCursor;
pub unsafe fn GetChildDocumentAt(
&self,
index: uint32_t,
_retval: *mut *const nsIAccessibleDocument
) -> nsresult
[src]
&self,
index: uint32_t,
_retval: *mut *const nsIAccessibleDocument
) -> nsresult
/**
* Return the child document accessible at the given index.
*/
nsIAccessibleDocument getChildDocumentAt (in unsigned long index);
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 nsIAccessibleDocument
[src]
const IID: nsIID
IID: nsIID = nsID(1554866065, 64718, 16615, [145, 62, 70, 113, 112, 29, 25, 180])
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 nsIAccessibleDocument
[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 nsIAccessibleDocument
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.