Struct xpcom::interfaces::nsIDOMGeoPositionCoords
[−]
[src]
#[repr(C)]pub struct nsIDOMGeoPositionCoords { /* fields omitted */ }
interface nsIDOMGeoPositionCoords : nsISupports
Methods
impl nsIDOMGeoPositionCoords
[src]
pub fn coerce<T: nsIDOMGeoPositionCoordsCoerce>(&self) -> &T
[src]
Cast this nsIDOMGeoPositionCoords
to one of its base interfaces.
impl nsIDOMGeoPositionCoords
[src]
pub unsafe fn GetLatitude(&self, aLatitude: *mut c_double) -> nsresult
[src]
readonly attribute double latitude;
pub unsafe fn GetLongitude(&self, aLongitude: *mut c_double) -> nsresult
[src]
readonly attribute double longitude;
pub unsafe fn GetAltitude(&self, aAltitude: *mut c_double) -> nsresult
[src]
readonly attribute double altitude;
pub unsafe fn GetAccuracy(&self, aAccuracy: *mut c_double) -> nsresult
[src]
readonly attribute double accuracy;
pub unsafe fn GetAltitudeAccuracy(
&self,
aAltitudeAccuracy: *mut c_double
) -> nsresult
[src]
&self,
aAltitudeAccuracy: *mut c_double
) -> nsresult
readonly attribute double altitudeAccuracy;
pub unsafe fn GetHeading(&self, aHeading: *mut c_double) -> nsresult
[src]
readonly attribute double heading;
pub unsafe fn GetSpeed(&self, aSpeed: *mut c_double) -> nsresult
[src]
readonly attribute double speed;
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 nsIDOMGeoPositionCoords
[src]
const IID: nsIID
IID: nsIID = nsID(3004629712, 28076, 20384, [185, 59, 240, 67, 231, 28, 143, 154])
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 nsIDOMGeoPositionCoords
[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 nsIDOMGeoPositionCoords
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.