Struct xpcom::interfaces::mozIAsyncHistory
[−]
[src]
#[repr(C)]pub struct mozIAsyncHistory { /* fields omitted */ }
interface mozIAsyncHistory : nsISupports
/**
* This interface contains APIs for cpp consumers.
* Javascript consumers should look at History.jsm instead,
* that is exposed through PlacesUtils.history.
*
* If you're evaluating adding a new history API, it should
* usually go to History.jsm, unless it needs to do long and
* expensive work in a batch, then it could be worth doing
* that in History.cpp.
*/
Methods
impl mozIAsyncHistory
[src]
pub fn coerce<T: mozIAsyncHistoryCoerce>(&self) -> &T
[src]
Cast this mozIAsyncHistory
to one of its base interfaces.
impl mozIAsyncHistory
[src]
pub unsafe fn IsURIVisited(
&self,
aURI: *const nsIURI,
aCallback: *const mozIVisitedStatusCallback
) -> nsresult
[src]
&self,
aURI: *const nsIURI,
aCallback: *const mozIVisitedStatusCallback
) -> nsresult
/**
* Checks if a given URI has been visited.
*
* @param aURI
* The URI to check for.
* @param aCallback
* A mozIVisitStatusCallback object which receives the visited status.
*/
void isURIVisited (in nsIURI aURI, in mozIVisitedStatusCallback aCallback);
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 mozIAsyncHistory
[src]
const IID: nsIID
IID: nsIID = nsID(373551058, 41769, 18227, [163, 157, 23, 6, 156, 141, 59, 45])
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 mozIAsyncHistory
[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 mozIAsyncHistory
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.