Skip to main content

XmlSerialize

Trait XmlSerialize 

Source
pub trait XmlSerialize {
    // Required method
    fn xml_serialize<W: Write>(
        &self,
        tag: &str,
        writer: &mut Writer<W>,
    ) -> XmlSerializeResult<()>;

    // Provided methods
    fn is_enum() -> bool { ... }
    fn root() -> Option<XmlTag> { ... }
}

Required Methods§

Source

fn xml_serialize<W: Write>( &self, tag: &str, writer: &mut Writer<W>, ) -> XmlSerializeResult<()>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§