Struct xpcom::interfaces::nsISearchParseSubmissionResult [] [src]

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

interface nsISearchParseSubmissionResult : nsISupports

Methods

impl nsISearchParseSubmissionResult
[src]

[src]

Cast this nsISearchParseSubmissionResult to one of its base interfaces.

impl nsISearchParseSubmissionResult
[src]

[src]

/**
   * The search engine associated with the URL passed in to
   * nsISearchEngine::parseSubmissionURL, or null if the URL does not represent
   * a search submission.
   */

readonly attribute nsISearchEngine engine;

[src]

/**
   * String containing the sought terms.  This can be an empty string in case no
   * terms were specified or the URL does not represent a search submission.
   */

readonly attribute AString terms;

[src]

/**
   * The offset of the string |terms| in the URL passed in to
   * nsISearchEngine::parseSubmissionURL, or -1 if the URL does not represent
   * a search submission.
   */

readonly attribute long termsOffset;

[src]

/**
   * The length of the |terms| in the original encoding of the URL passed in to
   * nsISearchEngine::parseSubmissionURL. If the search term in the original
   * URL is encoded then this will be bigger than |terms.length|.
   */

readonly attribute long termsLength;

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

IID: nsIID = nsID(231292497, 42943, 18966, [134, 45, 75, 52, 105, 255, 98, 6])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISearchParseSubmissionResult
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.