[][src]Trait xml_data::serializer::FixedElement

pub trait FixedElement {
    const TAG: &'static str;

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<()>;
}

Serializable element with a fixed tag.

Associated Constants

const TAG: &'static str

Fixed tag

Loading content...

Required methods

fn serialize<S: Serializer>(&self, serializer: S) -> Result<()>

Same as Element::serialize.

Loading content...

Implementors

Loading content...