pub trait ToXml {
// Required method
fn to_xml(&self) -> Xml;
}Expand description
This trait must be implemented on types, before they can be used inside the xml! {..} macro.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".