pub trait Serialize {
    fn serialize<S>(
        serializer: &mut S,
        traversal_scope: TraversalScope
    ) -> Result<()>
        S: Serializer
; }
Expand description

Types that can be serialized (according to the xml-like scheme in Serializer) implement this trait.

Required Methods

Take the serializer and call its methods to serialize this type. The type will dictate which methods are called and with what parameters.