Struct xpcom::interfaces::nsIPageThumbsStorageService
[−]
[src]
#[repr(C)]pub struct nsIPageThumbsStorageService { /* fields omitted */ }
interface nsIPageThumbsStorageService : nsISupports
/**
* A service which returns information about file paths where the
* screenshots for URLs are stored. These screenshots are used by the
* moz-page-thumb protocol
*/
Methods
impl nsIPageThumbsStorageService
[src]
pub fn coerce<T: nsIPageThumbsStorageServiceCoerce>(&self) -> &T
[src]
Cast this nsIPageThumbsStorageService
to one of its base interfaces.
impl nsIPageThumbsStorageService
[src]
pub unsafe fn GetLeafNameForURL(
&self,
aURL: &nsAString,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aURL: &nsAString,
_retval: &mut nsAString
) -> nsresult
/**
* Returns the leaf name of the file containing the screenshot for a given URL
*/
AString getLeafNameForURL (in AString aURL);
pub unsafe fn GetPath(&self, aPath: &mut nsACString) -> nsresult
[src]
/**
* Returns the path where the thumbnails are stored
*/
readonly attribute ACString path;
pub unsafe fn GetFilePathForURL(
&self,
aURL: &nsAString,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aURL: &nsAString,
_retval: &mut nsAString
) -> nsresult
/**
* Returns the full file path containing the screenshot for a given URL
*/
AString getFilePathForURL (in AString aURL);
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 nsIPageThumbsStorageService
[src]
const IID: nsIID
IID: nsIID = nsID(2543075052, 3656, 18927, [183, 183, 207, 74, 160, 16, 155, 182])
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 nsIPageThumbsStorageService
[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 nsIPageThumbsStorageService
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.