Struct xpcom::interfaces::nsIDeviceSensorData [] [src]

#[repr(C)]
pub struct nsIDeviceSensorData { /* fields omitted */ }

interface nsIDeviceSensorData : nsISupports

Methods

impl nsIDeviceSensorData
[src]

[src]

Cast this nsIDeviceSensorData to one of its base interfaces.

impl nsIDeviceSensorData
[src]

TYPE_ORIENTATION: i64 = 0

TYPE_ACCELERATION: i64 = 1

TYPE_PROXIMITY: i64 = 2

TYPE_LINEAR_ACCELERATION: i64 = 3

TYPE_GYROSCOPE: i64 = 4

TYPE_LIGHT: i64 = 5

TYPE_ROTATION_VECTOR: i64 = 6

TYPE_GAME_ROTATION_VECTOR: i64 = 7

[src]

readonly attribute unsigned long type;

[src]

readonly attribute double x;

[src]

readonly attribute double y;

[src]

readonly attribute double z;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDeviceSensorData
[src]

IID: nsIID = nsID(73540734, 65164, 19109, [182, 117, 55, 82, 84, 126, 72, 95])

[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 nsIDeviceSensorData
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDeviceSensorData
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.