Skip to main content

copy_element

Function copy_element 

Source
pub unsafe fn copy_element(elem: *mut _xmlElement) -> *mut _xmlElement
Expand description

Deep copy an element declaration.

§UPSTREAM-PARITY

xmlElementPtr xmlCopyElement(xmlElementPtr elem);

§SAFETY

  • elem must be a valid pointer to an _xmlElement, or NULL.