Struct xpcom::interfaces::nsIWebBrowserPersistResourceVisitor
[−]
[src]
#[repr(C)]pub struct nsIWebBrowserPersistResourceVisitor { /* fields omitted */ }
interface nsIWebBrowserPersistResourceVisitor : nsISupports
Methods
impl nsIWebBrowserPersistResourceVisitor
[src]
pub fn coerce<T: nsIWebBrowserPersistResourceVisitorCoerce>(&self) -> &T
[src]
Cast this nsIWebBrowserPersistResourceVisitor
to one of its base interfaces.
impl nsIWebBrowserPersistResourceVisitor
[src]
pub unsafe fn VisitResource(
&self,
aDocument: *const nsIWebBrowserPersistDocument,
aURI: &nsACString
) -> nsresult
[src]
&self,
aDocument: *const nsIWebBrowserPersistDocument,
aURI: &nsACString
) -> nsresult
/**
* Asynchronous visitor that receives external resources linked by an
* nsIWebBrowserPersistDocument and which are needed to render the
* document.
*/
/**
* Indicates a resource that is not a document; e.g., an image, script,
* or stylesheet.
*
* @param aDocument The document containing the reference.
* @param aURI The absolute URI spec for the referenced resource.
*/
void visitResource (in nsIWebBrowserPersistDocument aDocument, in AUTF8String aURI);
pub unsafe fn VisitDocument(
&self,
aDocument: *const nsIWebBrowserPersistDocument,
aSubDocument: *const nsIWebBrowserPersistDocument
) -> nsresult
[src]
&self,
aDocument: *const nsIWebBrowserPersistDocument,
aSubDocument: *const nsIWebBrowserPersistDocument
) -> nsresult
/**
* Indicates a subdocument resource; e.g., a frame or iframe.
*
* @param aDocument The document containing the reference.
* @param aSubDocument The referenced document.
*/
void visitDocument (in nsIWebBrowserPersistDocument aDocument, in nsIWebBrowserPersistDocument aSubDocument);
pub unsafe fn EndVisit(
&self,
aDocument: *const nsIWebBrowserPersistDocument,
aStatus: nsresult
) -> nsresult
[src]
&self,
aDocument: *const nsIWebBrowserPersistDocument,
aStatus: nsresult
) -> nsresult
/**
* Indicates that the document traversal is complete.
*
* @param aDocument The document that was being traversed.
* @param aStatus Indicates whether the traversal encountered an error.
*/
void endVisit (in nsIWebBrowserPersistDocument aDocument, in nsresult aStatus);
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 nsIWebBrowserPersistResourceVisitor
[src]
const IID: nsIID
IID: nsIID = nsID(2363717382, 47059, 18458, [190, 104, 84, 241, 116, 252, 13, 10])
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 nsIWebBrowserPersistResourceVisitor
[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 nsIWebBrowserPersistResourceVisitor
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.