Struct xpcom::interfaces::nsIDocumentEncoderNodeFixup
[−]
[src]
#[repr(C)]pub struct nsIDocumentEncoderNodeFixup { /* fields omitted */ }
interface nsIDocumentEncoderNodeFixup : nsISupports
Methods
impl nsIDocumentEncoderNodeFixup
[src]
pub fn coerce<T: nsIDocumentEncoderNodeFixupCoerce>(&self) -> &T
[src]
Cast this nsIDocumentEncoderNodeFixup
to one of its base interfaces.
impl nsIDocumentEncoderNodeFixup
[src]
pub unsafe fn FixupNode(
&self,
aNode: *const nsIDOMNode,
aSerializeCloneKids: *mut bool,
_retval: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aNode: *const nsIDOMNode,
aSerializeCloneKids: *mut bool,
_retval: *mut *const nsIDOMNode
) -> nsresult
/**
* Create a fixed up version of a node. This method is called before
* each node in a document is about to be persisted. The implementor
* may return a new node with fixed up attributes or null. If null is
* returned the node should be used as-is.
* @param aNode Node to fixup.
* @param [OUT] aSerializeCloneKids True if the document encoder should
* apply recursive serialization to the children of the fixed up node
* instead of the children of the original node.
* @return The resulting fixed up node.
*/
nsIDOMNode fixupNode (in nsIDOMNode aNode, out boolean aSerializeCloneKids);
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 nsIDocumentEncoderNodeFixup
[src]
const IID: nsIID
IID: nsIID = nsID(1033073112, 41645, 16446, [139, 14, 136, 133, 173, 53, 98, 227])
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 nsIDocumentEncoderNodeFixup
[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 nsIDocumentEncoderNodeFixup
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.