Struct xpcom::interfaces::nsIDOMXPathResult
[−]
[src]
#[repr(C)]pub struct nsIDOMXPathResult { /* fields omitted */ }
interface nsIDOMXPathResult : nsISupports
Methods
impl nsIDOMXPathResult
[src]
pub fn coerce<T: nsIDOMXPathResultCoerce>(&self) -> &T
[src]
Cast this nsIDOMXPathResult
to one of its base interfaces.
impl nsIDOMXPathResult
[src]
pub const ANY_TYPE: i64
ANY_TYPE: i64 = 0
pub const NUMBER_TYPE: i64
NUMBER_TYPE: i64 = 1
pub const STRING_TYPE: i64
STRING_TYPE: i64 = 2
pub const BOOLEAN_TYPE: i64
BOOLEAN_TYPE: i64 = 3
pub const UNORDERED_NODE_ITERATOR_TYPE: i64
UNORDERED_NODE_ITERATOR_TYPE: i64 = 4
pub const ORDERED_NODE_ITERATOR_TYPE: i64
ORDERED_NODE_ITERATOR_TYPE: i64 = 5
pub const UNORDERED_NODE_SNAPSHOT_TYPE: i64
UNORDERED_NODE_SNAPSHOT_TYPE: i64 = 6
pub const ORDERED_NODE_SNAPSHOT_TYPE: i64
ORDERED_NODE_SNAPSHOT_TYPE: i64 = 7
pub const ANY_UNORDERED_NODE_TYPE: i64
ANY_UNORDERED_NODE_TYPE: i64 = 8
pub const FIRST_ORDERED_NODE_TYPE: i64
FIRST_ORDERED_NODE_TYPE: i64 = 9
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 nsIDOMXPathResult
[src]
const IID: nsIID
IID: nsIID = nsID(1968205700, 46340, 4565, [167, 242, 202, 16, 138, 184, 182, 252])
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 nsIDOMXPathResult
[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 nsIDOMXPathResult
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.