Struct xpcom::interfaces::nsIRDFLiteral
[−]
[src]
#[repr(C)]pub struct nsIRDFLiteral { /* fields omitted */ }
interface nsIRDFLiteral : nsIRDFNode
/**
* A literal node in the graph, whose value is a string.
*/
Methods
impl nsIRDFLiteral
[src]
pub fn coerce<T: nsIRDFLiteralCoerce>(&self) -> &T
[src]
Cast this nsIRDFLiteral
to one of its base interfaces.
impl nsIRDFLiteral
[src]
pub unsafe fn GetValue(&self, aValue: *mut *const int16_t) -> nsresult
[src]
/**
* The Unicode string value of the literal.
*/
readonly attribute wstring Value;
pub unsafe fn GetValueConst(&self, aConstValue: *mut *const int16_t) -> nsresult
[src]
/**
* An unscriptable version used to avoid a string copy. Meant
* for use as a performance optimization.
*/
[noscript] void GetValueConst ([shared] out wstring aConstValue);
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 nsIRDFLiteral
[src]
const IID: nsIID
IID: nsIID = nsID(3770979282, 38210, 4562, [142, 184, 0, 128, 95, 41, 243, 112])
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 nsIRDFLiteral
[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 nsIRDFLiteral
[src]
type Target = nsIRDFNode
The resulting type after dereferencing.
fn deref(&self) -> &nsIRDFNode
[src]
Dereferences the value.