Struct xpcom::interfaces::nsISearchSubmission
[−]
[src]
#[repr(C)]pub struct nsISearchSubmission { /* fields omitted */ }
interface nsISearchSubmission : nsISupports
Methods
impl nsISearchSubmission
[src]
pub fn coerce<T: nsISearchSubmissionCoerce>(&self) -> &T
[src]
Cast this nsISearchSubmission
to one of its base interfaces.
impl nsISearchSubmission
[src]
pub unsafe fn GetPostData(
&self,
aPostData: *mut *const nsIInputStream
) -> nsresult
[src]
&self,
aPostData: *mut *const nsIInputStream
) -> nsresult
/**
* The POST data associated with a search submission, wrapped in a MIME
* input stream. May be null.
*/
readonly attribute nsIInputStream postData;
pub unsafe fn GetUri(&self, aUri: *mut *const nsIURI) -> nsresult
[src]
/**
* The URI to submit a search to.
*/
readonly attribute nsIURI uri;
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 nsISearchSubmission
[src]
const IID: nsIID
IID: nsIID = nsID(1469654303, 23381, 19959, [169, 231, 12, 39, 129, 44, 70, 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 nsISearchSubmission
[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 nsISearchSubmission
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.