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]

[src]

Cast this rdfITripleVisitor to one of its base interfaces.

impl rdfITripleVisitor
[src]

[src]

/**
     * 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>

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

IID: nsIID = nsID(2868814161, 49777, 17669, [153, 120, 161, 0, 210, 146, 128, 12])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for rdfITripleVisitor
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.