Struct xpcom::interfaces::rdfIDataSource [] [src]

#[repr(C)]
pub struct rdfIDataSource { /* fields omitted */ }

interface rdfIDataSource : nsISupports

/**
 * Interface used in RDF to describe data sources.
 *
 * @status PLASMA
 */

Methods

impl rdfIDataSource
[src]

[src]

Cast this rdfIDataSource to one of its base interfaces.

impl rdfIDataSource
[src]

[src]

/**
     * Visit all the subject resources in the datasource. The order is
     * intederminate and may change from one invocation to the next.
     * The subjects will be in the aSubject argument in calls into
     * aVisitor, aPredicate and aObject will be null.
     * @note Implementations may throw NS_ERROR_NOT_IMPLEMENTED for
     * this method, but in this case RDF serializations of this
     * datasource will not be possible.
     */

void visitAllSubjects (in rdfITripleVisitor aVisitor);

[src]

/**
     * Visit all the triples in the datasource. The order is
     * intederminate and may change from one invocation to the next.
     * @note Implementations may throw NS_ERROR_NOT_IMPLEMENTED for
     * this method, but in this case RDF serializations of this
     * datasource will not be possible.
     */

void visitAllTriples (in rdfITripleVisitor aVisitor);

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

IID: nsIID = nsID(3956180669, 5480, 18996, [168, 8, 156, 207, 156, 222, 128, 135])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for rdfIDataSource
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.