glifparser 2.0.1

A parser and writer for UFO `.glif` files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub(crate) use crate::xml::*;

use crate::error::GlifParserResult;

pub trait IntoXML {
    fn xml(&self) -> Element;
    fn into_xml(self) -> Element
    where
        Self: Sized,
    {
        (&self).xml()
    }
}

pub trait TryIntoXML {
    fn try_xml(&self) -> GlifParserResult<Element>;
}