Struct xpcom::interfaces::nsIHapticFeedback [] [src]

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

interface nsIHapticFeedback : nsISupports

Methods

impl nsIHapticFeedback
[src]

[src]

Cast this nsIHapticFeedback to one of its base interfaces.

impl nsIHapticFeedback
[src]

ShortPress: i64 = 0

LongPress: i64 = 1

[src]

/**
     * Perform haptic feedback
     *
     * @param isLongPress
     *        indicate whether feedback is for a long press (vs. short press)
     */

void performSimpleAction (in long isLongPress);

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

IID: nsIID = nsID(2442230936, 43251, 19608, [143, 16, 74, 251, 135, 47, 84, 199])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIHapticFeedback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.