Trait XmlRootTag

Source
pub trait XmlRootTag {
    // Required methods
    fn root_tag() -> &'static str;
    fn root_ns() -> Option<Namespace<'static>>;
    fn root_ns_prefixes() -> HashMap<Namespace<'static>, &'static str>;
}

Required Methods§

Source

fn root_tag() -> &'static str

Source

fn root_ns() -> Option<Namespace<'static>>

Source

fn root_ns_prefixes() -> HashMap<Namespace<'static>, &'static str>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§