Struct xpcom::interfaces::nsIWebBrowserPersistURIMap
[−]
[src]
#[repr(C)]pub struct nsIWebBrowserPersistURIMap { /* fields omitted */ }
interface nsIWebBrowserPersistURIMap : nsISupports
/**
* Interface for the URI-mapping information that can be supplied when
* serializing the DOM of an nsIWebBrowserPersistDocument.
*
* @see nsIWebBrowserPersistDocument
*/
Methods
impl nsIWebBrowserPersistURIMap
[src]
pub fn coerce<T: nsIWebBrowserPersistURIMapCoerce>(&self) -> &T
[src]
Cast this nsIWebBrowserPersistURIMap
to one of its base interfaces.
impl nsIWebBrowserPersistURIMap
[src]
pub unsafe fn GetNumMappedURIs(&self, aNumMappedURIs: *mut uint32_t) -> nsresult
[src]
/**
* The number of URI mappings.
*/
readonly attribute unsigned long numMappedURIs;
pub unsafe fn GetURIMapping(
&self,
aIndex: uint32_t,
aMapFrom: &mut nsACString,
aMapTo: &mut nsACString
) -> nsresult
[src]
&self,
aIndex: uint32_t,
aMapFrom: &mut nsACString,
aMapTo: &mut nsACString
) -> nsresult
/**
* Obtain the URI mapping at the given index, which must be less than
* numMappedURIs, as a pair of URI spec strings.
*/
void getURIMapping (in unsigned long aIndex, out AUTF8String aMapFrom, out AUTF8String aMapTo);
pub unsafe fn GetTargetBaseURI(
&self,
aTargetBaseURI: &mut nsACString
) -> nsresult
[src]
&self,
aTargetBaseURI: &mut nsACString
) -> nsresult
/**
* The spec of the base URI that the document will have after it is
* serialized.
*/
readonly attribute AUTF8String targetBaseURI;
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 nsIWebBrowserPersistURIMap
[src]
const IID: nsIID
IID: nsIID = nsID(3576597395, 10097, 17896, [165, 176, 110, 18, 182, 103, 4, 107])
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 nsIWebBrowserPersistURIMap
[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 nsIWebBrowserPersistURIMap
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.