Struct xpcom::interfaces::nsIClipboardHelper [] [src]

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

interface nsIClipboardHelper : nsISupports

/**
 * helper service for common uses of nsIClipboard.
 */

Methods

impl nsIClipboardHelper
[src]

[src]

Cast this nsIClipboardHelper to one of its base interfaces.

impl nsIClipboardHelper
[src]

[src]

/**
   * copy string to given clipboard
   *
   * @param aString, the string to copy to the clipboard
   * @param aClipboardID, the ID of the clipboard to copy to
   *        (eg. kSelectionClipboard -- see nsIClipboard.idl)
   */

void copyStringToClipboard (in AString aString, in long aClipboardID);

[src]

/**
   * copy string to (default) clipboard
   *
   * @param aString, the string to copy to the clipboard
   */

void copyString (in AString aString);

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

IID: nsIID = nsID(1132660733, 3176, 19833, [146, 42, 246, 204, 149, 80, 205, 2])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIClipboardHelper
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.