Skip to main content

docx_rs/xml/
common.rs

1#[derive(Clone, Copy, Debug, PartialEq, Eq)]
2pub enum XmlVersion {
3    Version10,
4}
5
6impl XmlVersion {
7    pub(crate) fn as_str(self) -> &'static str {
8        match self {
9            XmlVersion::Version10 => "1.0",
10        }
11    }
12}