Struct xpcom::interfaces::nsIDOMNodeFilter
[−]
[src]
#[repr(C)]pub struct nsIDOMNodeFilter { /* fields omitted */ }
interface nsIDOMNodeFilter : nsISupports
Methods
impl nsIDOMNodeFilter
[src]
pub fn coerce<T: nsIDOMNodeFilterCoerce>(&self) -> &T
[src]
Cast this nsIDOMNodeFilter
to one of its base interfaces.
impl nsIDOMNodeFilter
[src]
pub const FILTER_ACCEPT: i64
FILTER_ACCEPT: i64 = 1
pub const FILTER_REJECT: i64
FILTER_REJECT: i64 = 2
pub const FILTER_SKIP: i64
FILTER_SKIP: i64 = 3
pub const SHOW_ALL: i64
SHOW_ALL: i64 = 4294967295
pub const SHOW_ELEMENT: i64
SHOW_ELEMENT: i64 = 1
pub const SHOW_ATTRIBUTE: i64
SHOW_ATTRIBUTE: i64 = 2
pub const SHOW_TEXT: i64
SHOW_TEXT: i64 = 4
pub const SHOW_CDATA_SECTION: i64
SHOW_CDATA_SECTION: i64 = 8
pub const SHOW_ENTITY_REFERENCE: i64
SHOW_ENTITY_REFERENCE: i64 = 16
pub const SHOW_ENTITY: i64
SHOW_ENTITY: i64 = 32
pub const SHOW_PROCESSING_INSTRUCTION: i64
SHOW_PROCESSING_INSTRUCTION: i64 = 64
pub const SHOW_COMMENT: i64
SHOW_COMMENT: i64 = 128
pub const SHOW_DOCUMENT: i64
SHOW_DOCUMENT: i64 = 256
pub const SHOW_DOCUMENT_TYPE: i64
SHOW_DOCUMENT_TYPE: i64 = 512
pub const SHOW_DOCUMENT_FRAGMENT: i64
SHOW_DOCUMENT_FRAGMENT: i64 = 1024
pub const SHOW_NOTATION: i64
SHOW_NOTATION: i64 = 2048
pub unsafe fn AcceptNode(
&self,
n: *const nsIDOMNode,
_retval: *mut int16_t
) -> nsresult
[src]
&self,
n: *const nsIDOMNode,
_retval: *mut int16_t
) -> nsresult
short acceptNode (in nsIDOMNode n);
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 nsIDOMNodeFilter
[src]
const IID: nsIID
IID: nsIID = nsID(3832690504, 7633, 4530, [142, 230, 134, 106, 83, 42, 98, 55])
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 nsIDOMNodeFilter
[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 nsIDOMNodeFilter
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.