Struct libxml::tree::Namespace
[−]
[src]
pub struct Namespace { pub ns_ptr: *mut c_void, }
An xml namespace
Fields
ns_ptr: *mut c_void
libxml's xmlNsPtr
Methods
impl Namespace
[src]
fn new(prefix: &str, href: &str, node: &Node) -> Result<Self, ()>
[src]
Creates a new namespace
fn get_prefix(&self) -> String
[src]
The namespace prefix
fn get_href(&self) -> String
[src]
The namespace href
fn free(self)
[src]
Workaround free method until we implement automatic+safe free-on-drop
Trait Implementations
impl Clone for Namespace
[src]
fn clone(&self) -> Namespace
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more