Struct xpcom::interfaces::rdfITripleVisitor
[−]
[src]
#[repr(C)]pub struct rdfITripleVisitor { /* fields omitted */ }
interface rdfITripleVisitor : nsISupports
/**
* Interface used in RDF to enumerate triples.
* Also used by rdfIDataSource::getAllSubjects, then aPredicate,
* aObject and aTruthValue are ignored.
*
* @status PLASMA
*/
Methods
impl rdfITripleVisitor
[src]
pub fn coerce<T: rdfITripleVisitorCoerce>(&self) -> &T
[src]
Cast this rdfITripleVisitor
to one of its base interfaces.
impl rdfITripleVisitor
[src]
pub unsafe fn Visit(
&self,
aSubject: *const nsIRDFNode,
aPredicate: *const nsIRDFResource,
aObject: *const nsIRDFNode,
aTruthValue: bool
) -> nsresult
[src]
&self,
aSubject: *const nsIRDFNode,
aPredicate: *const nsIRDFResource,
aObject: *const nsIRDFNode,
aTruthValue: bool
) -> nsresult
/**
* Callback function for returning query results.
*
* @param aSubject, aPredicate, aObject describe the (sub-)arc
* @returnCode NS_RDF_STOP_VISIT to stop iterating over the query result.
* Any error code will stop the iteration as well.
*/
void visit (in nsIRDFNode aSubject, in nsIRDFResource aPredicate, in nsIRDFNode aObject, in boolean aTruthValue);
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 rdfITripleVisitor
[src]
const IID: nsIID
IID: nsIID = nsID(2868814161, 49777, 17669, [153, 120, 161, 0, 210, 146, 128, 12])
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 rdfITripleVisitor
[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 rdfITripleVisitor
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.