Trait markup5ever::serialize::Serialize
[−]
[src]
pub trait Serialize { fn serialize<S>(
&self,
serializer: &mut S,
traversal_scope: TraversalScope
) -> Result<()>
where
S: Serializer; }
Types that can be serialized (according to the xml-like scheme in Serializer
) implement this
trait.
Required Methods
fn serialize<S>(
&self,
serializer: &mut S,
traversal_scope: TraversalScope
) -> Result<()> where
S: Serializer,
&self,
serializer: &mut S,
traversal_scope: TraversalScope
) -> Result<()> where
S: Serializer,
Take the serializer and call its methods to serialize this type. The type will dictate which methods are called and with what parameters.
Implementors
impl Serialize for Handle