Struct xpcom::interfaces::nsIClipboardDragDropHookList
[−]
[src]
#[repr(C)]pub struct nsIClipboardDragDropHookList { /* fields omitted */ }
interface nsIClipboardDragDropHookList : nsISupports
/**
* Please note that the following api is not intended for embedders;
* it is intended as an internal (to gecko). Embedders can indirectly
* call these by sending commands (see description in
* nsIClipboardDragDropHooks.idl).
*
* Internal gecko usage is accomplished by calling get_Interface on a
* docshell.
*/
Methods
impl nsIClipboardDragDropHookList
[src]
pub fn coerce<T: nsIClipboardDragDropHookListCoerce>(&self) -> &T
[src]
Cast this nsIClipboardDragDropHookList
to one of its base interfaces.
impl nsIClipboardDragDropHookList
[src]
pub unsafe fn AddClipboardDragDropHooks(
&self,
aHooks: *const nsIClipboardDragDropHooks
) -> nsresult
[src]
&self,
aHooks: *const nsIClipboardDragDropHooks
) -> nsresult
/**
* Add a hook to list.
* @param aHooks implementation of hooks
*/
void addClipboardDragDropHooks (in nsIClipboardDragDropHooks aHooks);
pub unsafe fn RemoveClipboardDragDropHooks(
&self,
aHooks: *const nsIClipboardDragDropHooks
) -> nsresult
[src]
&self,
aHooks: *const nsIClipboardDragDropHooks
) -> nsresult
/**
* Remove a hook from list (note if this implementation is not present
* in the list then removal will be ignored).
* @param aHooks implementation of hooks
*/
void removeClipboardDragDropHooks (in nsIClipboardDragDropHooks aHooks);
pub unsafe fn GetHookEnumerator(
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
[src]
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
/**
* Gets an enumerator for all hooks which have been added.
* @return nsISimpleEnumerator for nsIClipboardDragDropHooks
*/
nsISimpleEnumerator getHookEnumerator ();
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 nsIClipboardDragDropHookList
[src]
const IID: nsIID
IID: nsIID = nsID(2271879189, 27494, 4567, [143, 24, 0, 3, 147, 138, 157, 150])
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 nsIClipboardDragDropHookList
[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 nsIClipboardDragDropHookList
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.