Struct xpcom::interfaces::nsIRDFBlob
[−]
[src]
#[repr(C)]pub struct nsIRDFBlob { /* fields omitted */ }
interface nsIRDFBlob : nsIRDFNode
/**
* A literal node in the graph, whose value is arbitrary
* binary data.
*/
Methods
impl nsIRDFBlob
[src]
pub fn coerce<T: nsIRDFBlobCoerce>(&self) -> &T
[src]
Cast this nsIRDFBlob
to one of its base interfaces.
impl nsIRDFBlob
[src]
pub unsafe fn GetLength(&self, aLength: *mut int32_t) -> nsresult
[src]
/**
* The data's length.
*/
readonly attribute long length;
Methods from Deref<Target = nsIRDFNode>
pub fn coerce<T: nsIRDFNodeCoerce>(&self) -> &T
[src]
Cast this nsIRDFNode
to one of its base interfaces.
pub unsafe fn EqualsNode(
&self,
aNode: *const nsIRDFNode,
_retval: *mut bool
) -> nsresult
[src]
&self,
aNode: *const nsIRDFNode,
_retval: *mut bool
) -> nsresult
boolean EqualsNode (in nsIRDFNode aNode);
Trait Implementations
impl XpCom for nsIRDFBlob
[src]
const IID: nsIID
IID: nsIID = nsID(595559842, 7634, 4530, [148, 175, 129, 34, 88, 47, 196, 94])
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 nsIRDFBlob
[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 nsIRDFBlob
[src]
type Target = nsIRDFNode
The resulting type after dereferencing.
fn deref(&self) -> &nsIRDFNode
[src]
Dereferences the value.