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]
pub fn coerce<T: rdfIDataSourceCoerce>(&self) -> &T
[src]
Cast this rdfIDataSource
to one of its base interfaces.
impl rdfIDataSource
[src]
pub unsafe fn VisitAllSubjects(
&self,
aVisitor: *const rdfITripleVisitor
) -> nsresult
[src]
&self,
aVisitor: *const rdfITripleVisitor
) -> nsresult
/**
* 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);
pub unsafe fn VisitAllTriples(
&self,
aVisitor: *const rdfITripleVisitor
) -> nsresult
[src]
&self,
aVisitor: *const rdfITripleVisitor
) -> nsresult
/**
* 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>
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 rdfIDataSource
[src]
const IID: nsIID
IID: nsIID = nsID(3956180669, 5480, 18996, [168, 8, 156, 207, 156, 222, 128, 135])
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 rdfIDataSource
[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 rdfIDataSource
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.