Struct xpcom::interfaces::nsIDOMGeoPositionError
[−]
[src]
#[repr(C)]pub struct nsIDOMGeoPositionError { /* fields omitted */ }
interface nsIDOMGeoPositionError : nsISupports
Methods
impl nsIDOMGeoPositionError
[src]
pub fn coerce<T: nsIDOMGeoPositionErrorCoerce>(&self) -> &T
[src]
Cast this nsIDOMGeoPositionError
to one of its base interfaces.
impl nsIDOMGeoPositionError
[src]
pub const PERMISSION_DENIED: i64
PERMISSION_DENIED: i64 = 1
pub const POSITION_UNAVAILABLE: i64
POSITION_UNAVAILABLE: i64 = 2
pub const TIMEOUT: i64
TIMEOUT: i64 = 3
pub unsafe fn GetCode(&self, aCode: *mut int16_t) -> nsresult
[src]
readonly attribute short code;
pub unsafe fn GetMessage(&self, aMessage: &mut nsAString) -> nsresult
[src]
readonly attribute AString message;
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 nsIDOMGeoPositionError
[src]
const IID: nsIID
IID: nsIID = nsID(2233818307, 1978, 18941, [188, 155, 24, 210, 150, 61, 175, 127])
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 nsIDOMGeoPositionError
[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 nsIDOMGeoPositionError
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.