Struct xpcom::interfaces::nsIRDFDelegateFactory
[−]
[src]
#[repr(C)]pub struct nsIRDFDelegateFactory { /* fields omitted */ }
interface nsIRDFDelegateFactory : nsISupports
/**
* This interface should be implemented by an XPCOM factory that
* is registered to handle "@mozilla.org/rdf/delegate-factory/[key]/[scheme];1"
* ContractIDs.
*
* The factory will be invoked to create delegate objects from
* nsIRDFResource::GetDelegate().
*/
Methods
impl nsIRDFDelegateFactory
[src]
pub fn coerce<T: nsIRDFDelegateFactoryCoerce>(&self) -> &T
[src]
Cast this nsIRDFDelegateFactory
to one of its base interfaces.
impl nsIRDFDelegateFactory
[src]
pub unsafe fn CreateDelegate(
&self,
aOuter: *const nsIRDFResource,
aKey: *const c_char,
aIID: &nsIID,
aResult: *mut *mut c_void
) -> nsresult
[src]
&self,
aOuter: *const nsIRDFResource,
aKey: *const c_char,
aIID: &nsIID,
aResult: *mut *mut c_void
) -> nsresult
/**
* Create a delegate for the specified RDF resource.
*
* The created delegate should forward AddRef() and Release()
* calls to the aOuter object.
*/
void CreateDelegate (in nsIRDFResource aOuter, in string aKey, in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult aResult);
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 nsIRDFDelegateFactory
[src]
const IID: nsIID
IID: nsIID = nsID(2713228400, 41252, 4563, [190, 89, 0, 32, 166, 54, 22, 103])
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 nsIRDFDelegateFactory
[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 nsIRDFDelegateFactory
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.